1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313
|
commit 9e78825cef3db4e13cffbfd024bda365403aa6ba
Author: William Jon McCann <jmccann@redhat.com>
Date: Mon Feb 25 19:19:31 2008 -0500
always create the directories we need
src/ck-event-logger.c | 22 ++++++++++++++--
src/ck-manager.c | 63
++++++++++++++++++++++++++++++------------------
src/main.c | 50 ++++++++++++++++++++++++++++----------
3 files changed, 95 insertions(+), 40 deletions(-)
commit 414f7cc1e62474da69058884c5b683dc20e3a8f6
Author: Simon Zheng <simon.zheng@sun.com>
Date: Mon Feb 25 17:14:11 2008 -0500
properly get display device on Solaris
Mapping between device path and (major, minor).
"/dev/vt" -- (15,*)
"/dev/pts" -- (24,*)
"/dev/console" -- (0,0)
"NO_TTY_VALUE" - (-1,-1)
Also, solaris VT device is named like this.
/dev/console --- VT #1
/dev/vt/2 --- VT #2
/dev/vt/3 --- VT #3
/dev/vt/N --- VT #4
src/ck-sysdeps-solaris.c | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
commit 5315cd9e36f86f9d1ea1419c6521524a68801d4a
Author: Brian Cameron <brian.cameron@sun.com>
Date: Mon Feb 25 16:37:03 2008 -0500
fix solaris x11-display-device when no vt available
This patch fixes ConsoleKit
so it sets x11-display-device to "/dev/console" when not using
VT.
src/ck-sysdeps-solaris.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
commit fc9abc6db6616b6960db070c98bad21f990a040e
Author: Brian Cameron <Brian.Cameron@sun.com>
Date: Mon Feb 25 15:17:10 2008 -0500
solaris doesn't like printing null
src/ck-seat.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit f993c1d8970e3aae7de7dea6e1ae5c6d325865b2
Author: Brian Cameron <Brian.Cameron@sun.com>
Date: Mon Feb 25 15:11:02 2008 -0500
fix display of active vt when vt is disabled
This fixes the Active device so it is set to "/dev/console" when not
using VT. Without this patch, the syslog reports messages like:
Active device: /dev/vt/3508388860
Which is obviously wrong if not using VT at all.
src/ck-sysdeps-solaris.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
commit f39d3756e1d9da62de923ba470d3312b89bea6be
Author: Brian Cameron <Brian.Cameron@sun.com>
Date: Mon Feb 25 15:05:44 2008 -0500
fix solaris vt handling to work when no vt available
This fixes the patch that
Simon Zhang sent you earlier so that it builds on machines
without VT.
src/ck-vt-monitor.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
commit f551717e1830e86a8ccf5312f79ce8882af9f352
Author: Simon Zheng <Simon.Zheng@sun.com>
Date: Tue Feb 19 11:34:15 2008 -0500
improve supporting Solaris VT switching
Here's a patch for ConsoleKit to improve supporting Solaris VT. Two
changes are made.
- Solaris supports synchronous event notification in STREAMS. Using
this, we can avoid creating many threads for idle VTs.
By setting the S_MSG flag in an I_SETSIG STREAMS ioctl, applications
can
get a synchronous notification of VT switching. In other words, these
processes are able to receive a SIGPOLL signal when a VT switching
succeeds.
- Change a little command line of getting maximum vt console numbers.
src/ck-sysdeps-solaris.c | 2 +-
src/ck-vt-monitor.c | 59
++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+), 1 deletions(-)
commit 94d4dd225c6d161411f33396aec23a33a6661da6
Author: William Jon McCann <jmccann@redhat.com>
Date: Tue Feb 19 11:04:51 2008 -0500
don't include paths.h on systems that don't have it
src/ck-event-logger.c | 1 -
tools/ck-launch-session.c | 5 +++++
2 files changed, 5 insertions(+), 1 deletions(-)
commit 190aed4effbfb9a982f46250c82994f58f4e5fb5
Author: William Jon McCann <jmccann@redhat.com>
Date: Wed Feb 13 11:37:20 2008 -0500
create the log file with S_IROTH and don't touch the log on build
src/Makefile.am | 2 --
src/ck-event-logger.c | 3 ++-
2 files changed, 2 insertions(+), 3 deletions(-)
commit 6dda865f8fbe87a10a6047eb2db2c4fd1c94af17
Author: William Jon McCann <jmccann@redhat.com>
Date: Tue Feb 12 22:55:58 2008 -0500
post release version bump
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 72ce8d82848a6ee9634d9dd1610c5ba0074db4ae
Author: William Jon McCann <jmccann@redhat.com>
Date: Tue Feb 12 22:54:24 2008 -0500
update for release
NEWS | 3 +++
tools/Makefile.am | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
commit 5ab3eee820e97d632aa9401cbd2d25dc828ee1f0
Author: William Jon McCann <jmccann@redhat.com>
Date: Tue Feb 12 22:30:05 2008 -0500
ck_seat_get_active_session shouldn't return a null ssid
Da bus no likey nulls for object paths. Return false and set
error if there is no active session.
src/ck-manager.c | 31 +++++++++++--------------------
src/ck-seat.c | 26 +++++++++++++++++++++++---
src/test-method-access-policy | 2 +-
3 files changed, 35 insertions(+), 24 deletions(-)
commit 885708f75f493b85fb67114d112e950b6bfac652
Author: William Jon McCann <jmccann@redhat.com>
Date: Tue Feb 12 15:32:15 2008 -0500
guard against writing null string to keyfile
Also make criticals fatal when starting with --debug.
src/ck-seat.c | 6 +++++-
src/ck-session.c | 47 ++++++++++++++++++++++++++++++++++++++---------
src/main.c | 5 +++++
3 files changed, 48 insertions(+), 10 deletions(-)
commit 40dff5a03c7b085e34a7052efd23651d5be7674f
Author: William Jon McCann <jmccann@redhat.com>
Date: Tue Feb 12 15:00:46 2008 -0500
reverse the sense of the dbus policy
Deny first and then allow. Add a simple test
script to check method access policy.
NEWS | 7 +
data/ConsoleKit.conf | 94 ++++++--
src/test-method-access-policy | 517
+++++++++++++++++++++++++++++++++++++++++
3 files changed, 598 insertions(+), 20 deletions(-)
commit 685f2cbf9d69da556907ba6c935fe6ab1d2eeda3
Author: William Jon McCann <jmccann@redhat.com>
Date: Mon Feb 11 15:31:42 2008 -0500
add a ck-launch-session tool
This tool opens a session with ConsoleKit and runs a command in it.
Makefile.am | 2 +-
tools/.gitignore | 1 +
tools/Makefile.am | 11 ++++++
tools/ck-launch-session.c | 87
+++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 100 insertions(+), 1 deletions(-)
commit e2fa0c66a6ef8dafa8b503d0b077deb17f3fc512
Author: William Jon McCann <jmccann@redhat.com>
Date: Mon Feb 11 14:51:21 2008 -0500
don't set the session-type to the command name
tools/ck-collect-session-info.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
commit e0f13df14e4f7289c35ebb376eaf7e1ffb2a2317
Author: William Jon McCann <jmccann@redhat.com>
Date: Mon Feb 11 13:09:56 2008 -0500
post release version bump
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit bceedd666cd25abf0aa09807bdb17ddf87f503f9
Author: William Jon McCann <jmccann@redhat.com>
Date: Mon Feb 11 13:08:13 2008 -0500
update for release
NEWS | 11 +++++++++++
tools/.gitignore | 2 ++
2 files changed, 13 insertions(+), 0 deletions(-)
commit 3f178c6d15daed161fe3bd7f5d9019a592cc564a
Author: William Jon McCann <jmccann@redhat.com>
Date: Mon Feb 11 12:33:16 2008 -0500
add tools to log restart and stop events
This should probably be used by init instead of
logging the event from CK.
tools/Makefile.am | 20 +++++
tools/ck-log-system-restart.c | 174
+++++++++++++++++++++++++++++++++++++++++
tools/ck-log-system-stop.c | 174
+++++++++++++++++++++++++++++++++++++++++
3 files changed, 368 insertions(+), 0 deletions(-)
commit 710a4f5404049762ea49644c74aadb59737be37d
Author: William Jon McCann <jmccann@redhat.com>
Date: Mon Feb 11 11:11:45 2008 -0500
fix typo in dbus policy file
data/ConsoleKit.conf | 2 +-
src/test-open-session-with-parameters | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit e59d5e9a9974a14043c98c292936584cefa930d3
Author: William Jon McCann <jmccann@redhat.com>
Date: Thu Feb 7 19:29:34 2008 -0500
touch the history file to create it for people not using packages
src/Makefile.am | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit a7a00ec7f7237bd0150ed98dba5e796236135e28
Author: William Jon McCann <jmccann@redhat.com>
Date: Wed Feb 6 17:04:14 2008 -0500
mkdir /var/log/ConsoleKit at install time
src/Makefile.am | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit edd2422e91f80850c1adfcd3d6d6c723b7947ccf
Author: William Jon McCann <jmccann@redhat.com>
Date: Tue Feb 5 11:12:33 2008 -0500
set a global flag so that D-Bus does not change the SIGPIPE handler
in the PAM module
pam-ck-connector/pam-ck-connector.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
commit 076d63698c204427b210a2da76dc1b7e6640bbb9
Author: William Jon McCann <mccann@jhu.edu>
Date: Fri Feb 1 14:20:00 2008 -0500
when a parsing error occurs don't return an empty event
src/ck-log-event.c | 21 +++++++++++++--------
tools/ck-history.c | 12 ++++++------
2 files changed, 19 insertions(+), 14 deletions(-)
commit 185c0f5169dbcb55854491d9ab642c7b5c6418ca
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Jan 30 20:12:47 2008 -0500
post release version bump
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 53e2ffa946b09dc29d40d822a290e30fbe169888
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Jan 30 20:11:47 2008 -0500
update for 0.2.7 release
NEWS | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
commit a034e3992b4c9c2d3723b14003483d4b39eab118
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Jan 29 16:16:35 2008 -0500
update gitignore files
data/.gitignore | 1 +
src/.gitignore | 1 +
tools/.gitignore | 4 +++-
3 files changed, 5 insertions(+), 1 deletions(-)
commit c08f52a53901cda1082a010cb2d6b013f3ae50a4
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Jan 29 16:14:04 2008 -0500
add a helper to write a system start record to the CK history
src/ck-log-event.c | 2 +-
tools/Makefile.am | 13 +++
tools/ck-log-system-start.c | 174
+++++++++++++++++++++++++++++++++++++++++++
3 files changed, 188 insertions(+), 1 deletions(-)
commit 1a545ba0744532f2936899806523214d3a067769
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Jan 29 14:06:45 2008 -0500
add support for logging start/stop/restart
Also enable reporting this information with ck-history.
src/ck-log-event.c | 211 ++++++++++++++++++++++++-
src/ck-log-event.h | 19 ++-
src/ck-manager.c | 59 +++++++-
tools/ck-history.c | 444
++++++++++++++++++++++++++++++++++------------------
4 files changed, 564 insertions(+), 169 deletions(-)
commit d8dcc8755a87a238ba37bc5275f142c92535915e
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Jan 28 22:26:53 2008 -0500
fix typo in man page
pam-ck-connector/pam_ck_connector.8 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit f38aba5d2a26b7c9ea0b7a5631281ed7cf678de4
Author: Marc-Andre Lureau <marcandre.lureau@gmail.com>
Date: Mon Jan 28 22:23:35 2008 -0500
make autogen work with aclocal 1.10
https://bugs.freedesktop.org/show_bug.cgi?id=14175
autogen.sh | 179
+++++--------------------------------------
libck-connector/Makefile.am | 2 +-
2 files changed, 19 insertions(+), 162 deletions(-)
commit 48519104df6037f8653ec62497796ba781dc0040
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Jan 28 19:56:19 2008 -0500
allow session type filtering for all report formats
tools/ck-history.c | 31 ++++++++++++++++++++++---------
1 files changed, 22 insertions(+), 9 deletions(-)
commit 5895396bc583ae08c5041f5b81f5f9d0a2888e22
Author: Brian Cameron <brian.cameron@sun.com>
Date: Mon Jan 28 17:43:05 2008 -0500
make polkit optional and use RBAC on Solaris
This patch makes polkit an optional dependency. If present
it builds with it. If not, polkit support is disabled.
This patch also adds a --enable-rbac-shutdown=<key> option.
If set, then ConsoleKit will allow shutdown/reboot if the
user has the RBAC key authorization defined. For example,
since the GDM GUI program runs as the "gdm" user, setting
the key for the "gdm" user allows the login program to
shutdown and reboot via ConsoleKit.
Also this patch modifies the tools/solaris/ck-system-restart
and tools/solaris/ck-system-stop scripts to call "/sbin/init 6"
and "/sbin/init 5", which are the right commands for Solaris.
configure.ac | 30 ++++++++++++++++-
data/Makefile.am | 2 +
src/Makefile.am | 7 ++++
src/ck-manager.c | 71
++++++++++++++++++++++++++++++++++++++-
tools/solaris/ck-system-restart | 11 +-----
tools/solaris/ck-system-stop | 11 +-----
6 files changed, 110 insertions(+), 22 deletions(-)
commit 96d613ee9a4850753e8f93113ab28ed3045f73f3
Author: Brian Cameron <brian.cameron@sun.com>
Date: Mon Jan 28 17:30:47 2008 -0500
fixes for solaris
Fixes two bugs I found in the code. The first is that
we need some NULL protection around the g_strdup_printf
where we build CK_SESSION_X11_DISPLAY to avoid a crash.
Second, I noticed a bug in the ck_unix_pid_get_hash
function where we weren't parsing the data right and
causing the hash to not get set properly.
src/ck-session.c | 3 ++-
src/ck-sysdeps-solaris.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
commit 9aca4062ec226c8099b5d46467ad72792e9977dc
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Jan 28 17:17:13 2008 -0500
add session-type filtering to ck-history
src/ck-seat.c | 2 ++
tools/ck-history.c | 22 ++++++++++++++--------
2 files changed, 16 insertions(+), 8 deletions(-)
commit 6fe785aaddda2537aa4335e88c0606eda36b75ee
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Jan 28 10:59:04 2008 -0500
try to activate x11-display-device not only display-device
src/ck-seat.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
commit af7dbbc29151ccfe063625159ea531fbbfc85a07
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Jan 24 09:38:26 2008 -0500
post release version bump
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 2064706053eb73d88655c0e1bc8dd7d1e144034e
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Jan 24 09:37:16 2008 -0500
update for 0.2.6 release
NEWS | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
commit d3e1069434bfff5e0c6236cbdec20db2a7d68d2c
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Jan 23 23:12:02 2008 -0500
be a little smarter about how we compute the number of users
src/ck-manager.c | 96
++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 94 insertions(+), 2 deletions(-)
commit 8dd0bb52b3cabf8673ecd3ede820b48ab6f6436f
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Jan 23 21:59:48 2008 -0500
fix policy action name
data/ConsoleKit.policy | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 4833651f336ee8f1cb266cf0c61fe527d3d5f713
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Jan 23 16:26:22 2008 -0500
post release version bump
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 40d21bbea73ae15afb4823d58cada8ab9399235f
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Jan 23 16:25:23 2008 -0500
release 0.2.5
NEWS | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
commit 3c618213b2ada61496b49c4d8c5612df4f082d14
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Jan 23 16:07:15 2008 -0500
history should log to /var/log not /var/run
src/ck-event-logger.c | 2 +-
src/ck-manager.c | 2 +-
tools/ck-history.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
commit b1d56d43f357185594e5730d6bfb7e7db1f633c3
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Jan 23 15:06:02 2008 -0500
post release version bump
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 8ec349dc86f617c8055c091fd5a9be80889d96f1
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Jan 23 14:30:48 2008 -0500
release 0.2.4
NEWS | 36 ++++++++++++++++++++++++++++++++++++
configure.ac | 2 ++
2 files changed, 38 insertions(+), 0 deletions(-)
commit 8148ef7a28e3f52f7bd91a0f85fd47ce0cb1d11f
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Jan 23 13:16:30 2008 -0500
actually register the error type with dbus
src/ck-manager.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 6ad7516f69f08c9c5e30332f95b50c0dd0cd1cb1
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Jan 23 11:04:23 2008 -0500
add GetSessions method to Manager interface
doc/spec/ck-manager.xml | 17 +++++++++++++++++
doc/xml/ref-ck-manager.xml | 10 +++++++++-
src/ck-manager.c | 25 +++++++++++++++++++++++++
src/ck-manager.h | 3 +++
src/ck-manager.xml | 3 +++
5 files changed, 57 insertions(+), 1 deletions(-)
commit 4b866a4af70fb19e8b0652637815ab24ad630065
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Jan 23 09:37:55 2008 -0500
add error type to manager
src/ck-manager.c | 22 ++++++++++++++++++++++
src/ck-manager.h | 6 +++++-
2 files changed, 27 insertions(+), 1 deletions(-)
commit 5ce97e6f22fd25279793fbc75211d2e86413ae73
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Jan 22 17:03:46 2008 -0500
initial stop/restart support
Add Stop and Restart methods to the Manager object. We'll rename the
Manager object to System in the near future. Use libpolkit to
determine authorization.
configure.ac | 2 +
data/ConsoleKit.policy | 48 +++
data/Makefile.am | 4 +
doc/spec/ck-manager.xml | 18 +
doc/xml/ref-ck-manager.xml | 10 +-
src/ck-manager.c | 667
+++++++++++++++++++++++++++++++++++----
src/ck-manager.h | 10 +-
src/ck-manager.xml | 6 +
tools/Makefile.am | 10 +
tools/freebsd/Makefile.am | 38 +++
tools/freebsd/ck-system-restart | 12 +
tools/freebsd/ck-system-stop | 18 +
tools/linux/Makefile.am | 38 ++-
tools/linux/ck-system-restart | 12 +
tools/linux/ck-system-stop | 12 +
tools/solaris/Makefile.am | 38 +++
tools/solaris/ck-system-restart | 12 +
tools/solaris/ck-system-stop | 12 +
18 files changed, 890 insertions(+), 77 deletions(-)
commit 2fba24e67597bf59ae00db2867df7a348c81b094
Author: Peter Jones <pjones@redhat.com>
Date: Sat Dec 8 23:04:03 2007 -0500
use VT_GETSTATE and tty0 to identify a console_ioctl on linux
ConsoleKit tries to find a valid fd it can issue
VT_WAITACTIVE against by iterating across a file list and issuing
ioctl(fd, KDGKBTYPE, &arg), then checking the return value.
Not all console
devices support this ioctl, so in some cases it never finds a
valid file
descriptor to use, and from then on never marks any session active.
We probably ought to be using something like VT_GETSTATE instead of
a keyboard
ioctl, but that's not sufficient to fix it. One fix that seems to
work, though
I'm not completely sure if it's the best answer, is to add /dev/tty0
to the list
of files to try before /dev/console.
src/ck-sysdeps-unix.c | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
commit 751b95f2aa2eb2cea7fe9e0dec0848865d118ad0
Author: Michael Biebl <mbiebl@gmail.com>
Date: Sat Dec 8 22:50:17 2007 -0500
remove obsolete sysv init script
given that my first patch get's applied, it makes sense to remove the
old sysv init script, as it's not really needed anymore. Besides, most
distros will not use this init script anyways as they have special
policies for their init script and provide their own.
data/ConsoleKit.in | 70
----------------------------------------------------
data/Makefile.am | 15 +----------
2 files changed, 1 insertions(+), 84 deletions(-)
commit eb610a07a17db29138df50cafa4cf131a645332e
Author: Michael Biebl <mbiebl@gmail.com>
Date: Sat Dec 8 22:45:42 2007 -0500
start CK service on-demand using D-Bus system activation
the attached patch installs a D-Bus system service file. This way the
CK service can be started on demand. This obviously makes the sysv
init script obsolete.
Requirements are dbus >= 1.1.2
data/Makefile.am | 9 ++++++++-
data/org.freedesktop.ConsoleKit.service.in | 4 ++++
2 files changed, 12 insertions(+), 1 deletions(-)
commit 7d167e65868cb2aa40273ee8ccd33cca5968438b
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Oct 22 21:23:08 2007 -0400
dump session leader info
src/ck-manager.c | 9 +++++++++
src/ck-session-leader.c | 15 ++++++++++++---
2 files changed, 21 insertions(+), 3 deletions(-)
commit 7b65ac249a1e28c9af25eb91919d898c3e0f8162
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Oct 22 21:00:16 2007 -0400
error out if unknown options are passed on command line
src/main.c | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
commit 5db2f7fdc2d1c5a45bc33d916d82c23178568923
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Oct 22 20:54:10 2007 -0400
move session leader stuff into a separate class
This will make it easier to dump/restore.
src/Makefile.am | 2 +
src/ck-manager.c | 482 +++++++++--------------------------------
src/ck-session-leader.c | 558
+++++++++++++++++++++++++++++++++++++++++++++++
src/ck-session-leader.h | 97 ++++++++
4 files changed, 762 insertions(+), 377 deletions(-)
commit 252f542201036d36aa01ade9bd381624391cfb34
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Oct 22 16:57:47 2007 -0400
try to handle log rotation
src/ck-event-logger.c | 53
+++++++++++++++++++++++++++++++++++++++++-------
1 files changed, 45 insertions(+), 8 deletions(-)
commit 4c842f1e108a0e9a412ac599cc4cfc954d801e62
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Oct 22 16:14:07 2007 -0400
add support for reporting from logrotated files
configure.ac | 30 +++++++++--
src/ck-event-logger.c | 9 +++-
tools/Makefile.am | 6 ++-
tools/ck-history.c | 128
+++++++++++++++++++++++++++++++++++++++++++++----
4 files changed, 154 insertions(+), 19 deletions(-)
commit 7e30b7d07d2f6216b6a8d2f75f3494d3947f0584
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Oct 22 11:34:02 2007 -0400
add a basic --frequent report
tools/ck-history.c | 109
++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 109 insertions(+), 0 deletions(-)
commit 73f5875de6c8d2e3f79fcb2c5d570836f6df74d5
Merge: e419ced... 7b834cb...
Author: William Jon McCann <mccann@jhu.edu>
Date: Sun Oct 21 23:59:55 2007 -0400
Merge branch 'master' of git+ssh://git.freedesktop.org/git/ConsoleKit
commit e419ced301a9e0d5f98c8cee030fe50158a2d291
Author: William Jon McCann <mccann@jhu.edu>
Date: Sun Oct 21 23:59:32 2007 -0400
add last mode, filtering by user/seat; shorten logged ids
src/ck-manager.c | 34 +++++++---
tools/ck-history.c | 177
++++++++++++++++++++++++++++++++++++++++++++++++---
2 files changed, 190 insertions(+), 21 deletions(-)
commit 7b834cbcc29a2a8423569a738cef3bce3c9f10bd
Author: William Jon McCann <mccannwj@acsnb1.pha.jhu.edu>
Date: Sat Oct 20 19:17:52 2007 -0400
add bugzilla url
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 7880c2eacaa45196b83a9032371f487f6fe312e4
Author: William Jon McCann <mccann@jhu.edu>
Date: Fri Oct 19 16:46:43 2007 -0400
check for oldest being null
tools/ck-history.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
commit 2ef61beadf1b4c938bb13bb3b460f69bcc720193
Author: William Jon McCann <mccann@jhu.edu>
Date: Fri Oct 19 16:30:52 2007 -0400
rename --last to --last-compat
tools/ck-history.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
commit 92c036e50f2d0989651c43e2db78110a2a2fd5b0
Author: William Jon McCann <mccann@jhu.edu>
Date: Fri Oct 19 16:28:24 2007 -0400
a few fixes for last patch
tools/ck-history.c | 29 +++++++++++++++++++++++++----
1 files changed, 25 insertions(+), 4 deletions(-)
commit 489396ba206bb1e3b82bb504151b0a83d405b33d
Author: William Jon McCann <mccann@jhu.edu>
Date: Fri Oct 19 16:16:18 2007 -0400
add a last compatible outout format to ck-history
tools/ck-history.c | 175
++++++++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 169 insertions(+), 6 deletions(-)
commit 36419b9ca34a89721746950eb78bb78c4bfb6206
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Oct 18 16:43:00 2007 -0400
use AC_GNU_SOURCE instead of #define
configure.ac | 3 +++
src/ck-event-logger.c | 2 --
2 files changed, 3 insertions(+), 2 deletions(-)
commit 1773b5f77b9c575ab8fc3e3d692e8a7056fe2959
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Oct 17 17:09:03 2007 -0400
add a basic ck-history command
Refactor some event logging code to share with ck-history. At the
moment the command only prints the events.
src/Makefile.am | 10 +-
src/ck-event-logger.c | 486 +---------------------
src/ck-event-logger.h | 99 +-----
src/ck-log-event.c | 1084
+++++++++++++++++++++++++++++++++++++++++++++++
src/ck-log-event.h | 131 ++++++
src/ck-manager.c | 42 +-
src/test-event-logger.c | 10 +-
tools/Makefile.am | 10 +
tools/ck-history.c | 157 +++++++
tools/list-sessions.c | 58 ++--
10 files changed, 1458 insertions(+), 629 deletions(-)
commit 0011a7aa94a9dbb00a322a1c08d5ac6a6dfdc21c
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Oct 16 16:40:44 2007 -0400
add event logging capability
This adds the ability to log events to a history file. One idea
is to be able to provide wtmp like functionality. The next step
is to add a seat-aware "last" command. This will be very useful
for creating graphical logins that remember the most recent/frequent
logins.
src/Makefile.am | 13 +
src/ck-event-logger.c | 828
+++++++++++++++++++++++++++++++++++++++++++++++
src/ck-event-logger.h | 161 +++++++++
src/ck-manager.c | 340 +++++++++++++++++++-
src/test-event-logger.c | 94 ++++++
5 files changed, 1430 insertions(+), 6 deletions(-)
commit a0a1ff87b1f4c93c147d5222a164138cb83ba149
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Oct 11 15:06:14 2007 -0400
remove emacs modeline
configure.ac | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
commit b2be103bd606291319dc312f07d1f3fcbfdf634c
Author: David Zeuthen <davidz@redhat.com>
Date: Wed Oct 10 13:39:15 2007 -0400
maintain a file with the dump of the local database
This feature is useful for programs wanting to read the database
without going through the D-Bus interface. This is sometimes desirable
when both performance and runtime dependencies are important.
For security reasons the file is only readable for the super user.
src/Makefile.am | 2 +
src/ck-manager.c | 204
++++++++++++++++++++++++++++++++++++++++++++++++++++--
src/ck-seat.c | 86 ++++++++++++++++++++++-
src/ck-seat.h | 4 +
src/ck-session.c | 38 ++++++++++
src/ck-session.h | 3 +
6 files changed, 330 insertions(+), 7 deletions(-)
commit bd43c78b3ab2ec7f85b17cca46d4b46f8671cd29
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Oct 10 12:53:45 2007 -0400
remove session/seat from list before signaling
We should remove the session or seat from the lists before
calling out or emitting a signal. We steal from the lists
and then unref the objects when the signal is complete.
src/ck-manager.c | 57
++++++++++++++++++++++++++++++++++++++++++-----------
src/ck-seat.c | 28 +++++++++++++++++++------
2 files changed, 66 insertions(+), 19 deletions(-)
commit a90ecd3544f03c16f6c5a97aafb1c0b33b58101c
Author: David Zeuthen <davidz@redhat.com>
Date: Thu Oct 4 20:39:09 2007 -0400
add a way to synchronously run programs on session
add/remove/activity_change
This patch adds support for running programs when
1. A session is added
2. A session is removed
3. The activity of a session changes
Executables with the suffix .ck in the directories
$sysconfdir/ConsoleKit/run-session.d
(typically /etc/ConsoleKit/run-session.d)
and
$libdir/ConsoleKit/run-session.d
(typically /usr/lib/ConsoleKit/run-session.d)
will be run on each event. The former directory is meant to be used
for the system administrator and the latter is meant to be used by
programs.
Only when all programs in these directories have run, ConsoleKit will
resume event processing and e.g. broadcast the event on the system
message bus. Hence, this new mechanism can be used to safely
(e.g. without race conditions) perform operations on certain resources
before programs in the desktop session are told they may use them. The
obvious example here is managing ACL's on /dev such that certain
device nodes are only available to users in local and active sessions.
The environment of the program launched is the environment that the
ConsoleKit daemon was launched with and also the following variables
(variables tagged with [*] may not be set).
CK_SESSION_ID
CK_SESSION_TYPE
CK_SESSION_SEAT_ID
CK_SESSION_USER_UID
CK_SESSION_DISPLAY_DEVICE [*]
CK_SESSION_X11_DISPLAY_DEVICE [*]
CK_SESSION_X11_DISPLAY [*]
CK_SESSION_REMOTE_HOST_NAME [*]
CK_SESSION_IS_ACTIVE
CK_SESSION_IS_LOCAL
corresponding to the properties of a Session object in question. Each
program is passed exactly one parameter that can assume one of the
following values:
- session_active_changed: is_active changed
- session_added: the session was added
- session_removed: the session was removed
As a safety hatch, there is a timeout of 15 seconds for each program;
if it hasn't exited within 15 seconds, the daemon will send it a
SIGTERM signal, and move on to the next program. The daemon is still
responsive when the program is running - this is to ensure that the
program itself can call into the org.freedesktop.ConsoleKit service.
src/Makefile.am | 6 ++
src/ck-run-programs.c | 230
+++++++++++++++++++++++++++++++++++++++++++++++++
src/ck-run-programs.h | 38 ++++++++
src/ck-seat.c | 5 +
src/ck-session.c | 39 ++++++++
5 files changed, 318 insertions(+), 0 deletions(-)
commit ad9dbd345dbec43ffc24481a0d21c261e49347fb
Author: Brian Cameron <brian.camerson@sun.com>
Date: Wed Sep 19 21:19:31 2007 -0400
don't use VT_GETSTATE when VT is unavailable
src/ck-sysdeps-solaris.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
commit 03c9196f59c849515f650e2eb1a190a10908a8ee
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Sep 19 11:13:31 2007 -0400
try to make things work for systems that don't support VT_ACTIVATE etc
configure.ac | 2 ++
src/ck-sysdeps-unix.c | 27 +++++++++++++++++++++++----
2 files changed, 25 insertions(+), 4 deletions(-)
commit 54582a7287f036bd6b65434e4b4888405972130d
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Sep 19 10:03:22 2007 -0400
add wiki to readme
README | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
commit 024fe2c942e1b3e5ddec8e829242017c9842393e
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Sep 18 11:12:54 2007 -0400
post release version bump
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit eacf90d95c91db99c5946f00c95484fb66ec1b2a
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Sep 18 11:11:38 2007 -0400
update for brown bag release
NEWS | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
commit f35dee9696d81630216e283bcd91ca491febe153
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Sep 18 01:09:04 2007 -0400
use unix-user instead of user
pam-ck-connector/pam-ck-connector.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 6b8dc7403c105dc12dbe93616321850b8f160a8e
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Sep 17 18:27:54 2007 -0400
post release version bump
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit e9c5548af759cb9968acb11e1b09dfc34fe13781
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Sep 17 18:24:11 2007 -0400
update NEWS for release
NEWS | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
commit 3708b8b25a8e48b627920eb0876203cac81eb36e
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Aug 29 15:56:06 2007 -0400
remove policy for gdm user
data/ConsoleKit.conf | 15 ---------------
1 files changed, 0 insertions(+), 15 deletions(-)
commit 1c9456a82126f56f4bebca0e7b6671ca844db322
Author: Joe Marcus Clarke <marcus@FreeBSD.org>
Date: Wed Aug 29 10:10:17 2007 -0400
fix FreeBSD issues translating VT numbers to devices
In FreeBSD the device number is always one less than the VT number
(e.g.
VT 1 is /dev/ttyv0). Account for this. Also, fix up reading console
entries from /etc/ttys, and make sure the full TTY device name
is returned
for a given process stat.
src/ck-sysdeps-freebsd.c | 22 ++++++++++++++--------
1 files changed, 14 insertions(+), 8 deletions(-)
commit b508cf9b49ecd1f4810f69e785ebf40a2e5d5677
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Aug 28 13:20:35 2007 -0400
untabify
src/ck-file-monitor-inotify.c | 2 +-
src/ck-manager.c | 16 ++++++++--------
src/ck-session.c | 8 ++++----
src/ck-sysdeps-unix.c | 6 +++---
src/main.c | 12 ++++++------
5 files changed, 22 insertions(+), 22 deletions(-)
commit 1523b599eeba119c1258e887b7df9b018ce10351
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Aug 28 11:48:11 2007 -0400
fix some compiler warnings, untabify
Based on patch from Joe Marcus Clarke
src/ck-sysdeps-freebsd.c | 188
+++++++++++++++++++---------------------------
src/ck-sysdeps-solaris.c | 8 +-
2 files changed, 81 insertions(+), 115 deletions(-)
commit 5e0f4848e5bfd325840d405582bdedf3a27b98f8
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Aug 27 16:34:45 2007 -0400
move some of the freebsd specific stuff into sysdeps
src/ck-sysdeps-freebsd.c | 37 ++++++++++++++++
src/ck-sysdeps-linux.c | 49 ++++++++++++++++++++++
src/ck-sysdeps-solaris.c | 48 +++++++++++++++++++++
src/ck-sysdeps-unix.c | 69 +++++++++++++++++++++++++++++++
src/ck-sysdeps.h | 6 +++
src/ck-vt-monitor.c | 96
++++++++----------------------------------
src/test-tty-idle-monitor.c | 14 +------
7 files changed, 229 insertions(+), 90 deletions(-)
commit 54b545beb4b7e65f852f03dd5da025d5eae7ef8f
Author: Florent Thoumie <flz@FreeBSD.org>
Date: Mon Aug 27 14:31:53 2007 +0100
Don't create rc.d/init.d directory on FreeBSD.
Move the initdir variable inside the if-block so that
it's not created on FreeBSD.
Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
data/Makefile.am | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
commit d6fa350994ac2c56644332fd5931a4a56d2f32d9
Author: Florent Thoumie <flz@FreeBSD.org>
Date: Sun Aug 26 13:25:23 2007 +0100
Disconnect init.d script on FreeBSD.
Don't install ConsoleKit script in init.d/rc.d/ as it is
unusable on FreeBSD.
Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
data/Makefile.am | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
commit a0a4451df57693a7cd4f69befd4cf17239013161
Author: Joe Marcus Clarke <marcus@shumai.marcuscom.com>
Date: Sat Aug 25 20:23:36 2007 -0400
Add support for FreeBSD
Allow this test to properly determine the current tty device.
Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
src/test-tty-idle-monitor.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit d643acbb50eb2cccc50df8b27bd2c08bdc405622
Author: Joe Marcus Clarke <marcus@shumai.marcuscom.com>
Date: Sat Aug 25 20:10:37 2007 -0400
Add ck-sysdeps-freebsd.c to the list of dist sources
Fix make dist by making sure ck-sysdeps-freebsd.c is available on all
platforms.
Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
src/Makefile.am | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit a2426fc2791a896c79d5eb14c2b518df7aca3dcf
Author: Florent Thoumie <flz@FreeBSD.org>
Date: Sat Aug 25 21:05:32 2007 +0100
Restore copyright.
Restore copyright in ck-sysdeps-freebsd.c since Marcus
"used a lot of the existing functions".
Submitted by: marcus
Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
src/ck-sysdeps-freebsd.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 59d8b48dc3358057859c22588580e926aa68a3ee
Author: Florent Thoumie <flz@FreeBSD.org>
Date: Sat Aug 25 19:50:54 2007 +0100
Some more fixes, Now test-vt-monitor works correctly.
Submitted by: marcus
Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
src/ck-sysdeps-unix.c | 14 +++++++++++---
src/ck-vt-monitor.c | 35 ++++++++++++++++++++++-------------
2 files changed, 33 insertions(+), 16 deletions(-)
commit 1a16c740e0eab279eeca443c1a1c276e5e125852
Author: Florent Thoumie <flz@FreeBSD.org>
Date: Sat Aug 25 18:22:02 2007 +0100
Add FreeBSD native backend (untested)
- Add Marcus' FreeBSD backend for ConsoleKit. Compiles fine but
test-vt-monitor doesn't seem to work correctly.
- Remove TODO entry.
Submitted by: marcus
Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
TODO | 2 -
configure.ac | 8 +
src/Makefile.am | 1 +
src/ck-sysdeps-freebsd.c | 592
++++++++++++++--------------------------------
4 files changed, 182 insertions(+), 421 deletions(-)
commit a910e8cc1ad8df738a8160c4f710b04810dfe99d
Author: Florent Thoumie <flz@FreeBSD.org>
Date: Sat Aug 25 17:19:09 2007 +0100
Add a note about native FreeBSD backend in TODO.
At the moment, we rely on linprocfs being mounted, we need a
native backend on FreeBSD.
Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
TODO | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit 342f4d1b60850daad422bd683978a88cb6a7eed7
Author: Florent Thoumie <flz@FreeBSD.org>
Date: Sat Aug 25 17:08:20 2007 +0100
First attempt a making ConsoleKit work on FreeBSD
- Add some ifdef's to make the code compile.
- Add ck-sysdeps-freebsd.c, based on the Linux version, which
means it's using linprocfs right now.
Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
src/Makefile.am | 5 +
src/ck-job.c | 1 +
src/ck-sysdeps-freebsd.c | 659
++++++++++++++++++++++++++++++++++++++++++++++
src/ck-vt-monitor.c | 16 +-
4 files changed, 679 insertions(+), 2 deletions(-)
commit f19761b0e2e6649836d3514fbd007b9365756f32
Author: Brian Cameron <brian.cameron@sun.com>
Date: Wed Aug 22 09:48:30 2007 -0400
more build fixes for solaris
src/ck-sysdeps-linux.c | 5 ++++-
src/ck-sysdeps-solaris.c | 9 +++++++--
2 files changed, 11 insertions(+), 3 deletions(-)
commit de3718f03a6e1a83c1024dad0dea5b070b1b27b4
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Aug 21 11:50:08 2007 -0400
abstract out the tty device basename stuff
src/ck-seat.c | 15 ++++++---------
src/ck-sysdeps-linux.c | 35 +++++++++++++++++++++++++++++++++++
src/ck-sysdeps-solaris.c | 35 +++++++++++++++++++++++++++++++++++
src/ck-sysdeps.h | 8 ++++----
4 files changed, 80 insertions(+), 13 deletions(-)
commit 0145691112f14352ef15b49c1ea3079a8e80f6e8
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Aug 21 11:27:04 2007 -0400
more solaris support
based on patch from Brian Cameron.
src/ck-sysdeps-linux.c | 14 ++++++
src/ck-sysdeps-solaris.c | 109
+++++++++++++++++++++++++++++++++++-----------
src/ck-sysdeps-unix.c | 40 ++++++++++++-----
src/ck-sysdeps.h | 2 +
src/ck-vt-monitor.c | 14 +++---
5 files changed, 136 insertions(+), 43 deletions(-)
commit 3e6bbcaea6d441956c9c1173d7586bd346a8c77b
Author: William Jon McCann <mccann@jhu.edu>
Date: Fri Aug 17 13:09:34 2007 -0400
display the current vt
src/test-vt-monitor.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
commit 3d907714c526c4c685bb8c5dc13f91df22331cdb
Author: William Jon McCann <mccann@jhu.edu>
Date: Fri Aug 17 13:00:16 2007 -0400
add test-vt-monitor
src/.gitignore | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 3423ce3039033e8bf54860a2b955fdf8c1f21be7
Author: William Jon McCann <mccann@jhu.edu>
Date: Fri Aug 17 12:59:41 2007 -0400
add a vt monitor test, move getfd to sysdeps, add a check for the
root user
src/Makefile.am | 14 +++++-
src/ck-sysdeps-unix.c | 114
++++++++++++++++++++++++++++++++++++++++++-
src/ck-sysdeps.h | 11 ++++
src/ck-vt-monitor.c | 5 +-
src/getfd.c | 97 ------------------------------------
src/main.c | 6 ++
src/test-tty-idle-monitor.c | 12 +----
src/test-vt-monitor.c | 83 +++++++++++++++++++++++++++++++
8 files changed, 230 insertions(+), 112 deletions(-)
commit bec4b4163ae65fa271845da6b748456346987c26
Author: William Jon McCann <mccann@jhu.edu>
Date: Fri Aug 17 11:54:21 2007 -0400
oops add docs for new seat interfaces
doc/spec/ck-seat.xml | 41 +++++++++++++++++++++++++++++++++++++++++
doc/xml/ref-ck-seat.xml | 33 +++++++++++++++++++++++----------
2 files changed, 64 insertions(+), 10 deletions(-)
commit c0c74f8064392598cd29401142804fcc241841ed
Author: William Jon McCann <mccann@jhu.edu>
Date: Fri Aug 17 10:52:19 2007 -0400
a few fixes for peer cred stuff
src/ck-sysdeps-unix.c | 26 ++++++++++++++++++++------
tools/ck-get-x11-display-device.c | 13 ++++++-------
tools/ck-get-x11-server-pid.c | 4 +++-
3 files changed, 29 insertions(+), 14 deletions(-)
commit 577099aea3ed75c1298d7a4cfa32784a1800bb09
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Aug 16 23:09:44 2007 -0400
move peercred stuff into sysdeps. add solaris support.
configure.ac | 2 +
src/Makefile.am | 1 +
src/ck-sysdeps-unix.c | 84
+++++++++++++++++++++++++++++++++++++
src/ck-sysdeps.h | 7 +++
tools/ck-get-x11-display-device.c | 34 ++-------------
tools/ck-get-x11-server-pid.c | 31 ++++----------
6 files changed, 107 insertions(+), 52 deletions(-)
commit fcb0f32632f74950c361a0a23128ebca05efdca0
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Aug 16 22:29:18 2007 -0400
move all proc stuff into ck-sysdeps
src/Makefile.am | 23 +-
src/ck-manager.c | 52 ++--
src/ck-sysdeps-linux.c | 605
+++++++++++++++++++++++++++++++++++++
src/ck-sysdeps-solaris.c | 324 ++++++++++++++++++++
src/ck-sysdeps.h | 49 +++
src/proc-linux.c | 605
-------------------------------------
src/proc-solaris.c | 324 --------------------
src/proc.h | 48 ---
tools/Makefile.am | 6 +-
tools/ck-collect-session-info.c | 36 ++--
tools/ck-get-x11-display-device.c | 18 +-
11 files changed, 1046 insertions(+), 1044 deletions(-)
commit e56a95f64c9c9f57adebf6cb3e6c88790cec40e4
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Aug 14 17:03:00 2007 -0400
move tools out of linux subdirectory since they apparently work
on solaris
tools/.gitignore | 3 +
tools/Makefile.am | 36 +++
tools/ck-collect-session-info.c | 410
+++++++++++++++++++++++++++++++
tools/ck-get-x11-display-device.c | 152 ++++++++++++
tools/ck-get-x11-server-pid.c | 100 ++++++++
tools/linux/Makefile.am | 32 ---
tools/linux/ck-collect-session-info.c | 410
-------------------------------
tools/linux/ck-get-x11-display-device.c | 152 ------------
tools/linux/ck-get-x11-server-pid.c | 100 --------
9 files changed, 701 insertions(+), 694 deletions(-)
commit dc97e6caabc9932922d26f3400424626462f5ad2
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Aug 14 16:55:24 2007 -0400
make a lt library for proc stuff
src/Makefile.am | 39 +++++++++++++++++++++++++--------------
tools/linux/Makefile.am | 7 +++----
2 files changed, 28 insertions(+), 18 deletions(-)
commit e6cf0e022d391154baed5ec30e857baffe52b437
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Aug 14 12:30:34 2007 -0400
remove example device from seat config
data/00-primary.seat | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit d4033604529b64156d5dd0f03fbe733ec7ae8246
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Aug 14 12:12:38 2007 -0400
make sure the device is a console and add some instructions
src/test-tty-idle-monitor.c | 44
+++++++++++++++++++++++++++++++++++++++++++
1 files changed, 44 insertions(+), 0 deletions(-)
commit 396363e70765af215f7302964ac9543305733a2b
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Aug 14 11:59:37 2007 -0400
don't bail if /proc/self/fd/0 is not a link
src/test-tty-idle-monitor.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
commit 383ea823871bf3768e85d1a3ca061e775c6aedf1
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Aug 14 11:50:54 2007 -0400
add some solaris support
Based on a patch from Brian Cameron.
configure.ac | 2 +
src/Makefile.am | 9 ++
src/getfd.c | 20 +++-
src/proc-solaris.c | 324
++++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 352 insertions(+), 3 deletions(-)
commit e054c0f8b86f27f94d9316bac065a94081f4be32
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Aug 8 16:07:01 2007 -0400
print out tools libs after configure
configure.ac | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 03590bfe7cc0346c9a36ee01fd3737aa009f0273
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Aug 7 11:21:47 2007 -0400
don't use PERROR if not available
src/ck-log.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
commit 90e87a110c648cb93c2bde0ace9626d5ce58167a
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Aug 7 11:21:31 2007 -0400
don't use stderr or stdout as variable names
src/ck-job.c | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
commit 488520e5c0d7d3684f7c91f11da52e9ef08d42c9
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Aug 1 10:44:21 2007 -0400
change user to unix-user
libck-connector/test-connector.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit d7d77af48ae9dbacde77d9337fe3a202d23467a6
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Aug 1 10:42:44 2007 -0400
use unix-user instead of user
libck-connector/ck-connector.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
commit 289fff6aaaa206572efa768c4063111582d79f9d
Author: William Jon McCann <mccann@jhu.edu>
Date: Fri Jul 20 17:42:01 2007 -0400
Add preliminary support for seats with devices
data/00-primary.seat | 5 +
data/Makefile.am | 4 +
src/ck-manager.c | 54 ++++++++++++-
src/ck-seat.c | 219
++++++++++++++++++++++++++++++++++++++++++++++++++
src/ck-seat.h | 36 +++++++--
src/ck-seat.xml | 9 ++
6 files changed, 319 insertions(+), 8 deletions(-)
commit f6027221567fcb9ead1823e2da4eb9783f2db9ce
Author: William Jon McCann <mccann@jhu.edu>
Date: Fri Jul 20 17:41:32 2007 -0400
Add --display option to tool.
tools/linux/ck-get-x11-display-device.c | 22 ++++++++++++++++++----
1 files changed, 18 insertions(+), 4 deletions(-)
commit a9aa00ff0fea79452a60a2448dd1f2714918884a
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Jul 18 17:24:00 2007 -0400
Add new helper for getting tty from DISPLAY
tools/linux/Makefile.am | 11 +++
tools/linux/ck-get-x11-display-device.c | 138
+++++++++++++++++++++++++++++++
2 files changed, 149 insertions(+), 0 deletions(-)
commit 17ff9ceb88e0b7f6dc5a7e6eac5ff98cb4a5cabe
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue May 15 11:15:12 2007 -0400
a few fixes for getfd suggested by Lennart
I am currently investigating how to best integrate PulseAudio with
ConsoleKit/PolicyKit. While doing that I had a look on your code, and
found a few issues in getfd.c I'd like to report, before I forget
them. I couldn't find any bugzilla with at consolekit project (neither
fedora, nor fdo, nor gnome?) hence I am mailing you in person.
In getfd.c in open_a_console() a close() is missing if is_a_console is
missing.
The open() in open_a_console() should probably use O_NOCTTY. Otherwise
C-c on the console might end up in a SIGINT to your daemon process!
Also I'd add an isatty() check to is_a_console(), to makes sure that
you're actually talking to a TTY before you issue KDGKBTYPE on
it. ioctl()s are unfortunately not unique, hence i'd recommend
that check.
That's it,
Lennart
src/getfd.c | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
commit fe29cc406719428bcc73d980299e4639a9bb37f1
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Apr 10 16:03:19 2007 -0400
bump version
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 2626a4405d19da40b98d526668bee7c92072e43b
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Apr 10 16:01:15 2007 -0400
update for release
NEWS | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
commit c6cd8d7c66b2bd39edf7ca70948982a553128282
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Apr 10 15:54:31 2007 -0400
disable static libs
configure.ac | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit e0244a8f6dd0b7f8ebecc6bec52c013ce5286279
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Apr 5 15:21:14 2007 -0400
use inotify to detect activity on tty when possible
.gitignore | 3 +-
configure.ac | 26 ++-
doc/.gitignore | 1 +
src/.gitignore | 1 +
src/Makefile.am | 32 ++
src/ck-file-monitor-dummy.c | 118 ++++++++
src/ck-file-monitor-inotify.c | 669
+++++++++++++++++++++++++++++++++++++++++
src/ck-file-monitor.h | 84 +++++
src/ck-session.c | 82 ++----
src/ck-tty-idle-monitor.c | 389 ++++++++++++++++++++++++
src/ck-tty-idle-monitor.h | 71 +++++
src/test-tty-idle-monitor.c | 82 +++++
12 files changed, 1496 insertions(+), 62 deletions(-)
commit 33dcd02c399e3255a7a64c1e90b258d79c14f2c4
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Apr 4 12:06:59 2007 -0400
fix typos
pam-ck-connector/pam_ck_connector.8 | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit c012fdf98a19e9e3d67a64ed308943a04c355dc8
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Apr 4 12:04:16 2007 -0400
add support for CKCON_X11_DISPLAY_DEVICE environment variable
In order to set the x11-display-device parameter on the new
session.
pam-ck-connector/pam-ck-connector.c | 13 +++++++++++++
pam-ck-connector/pam_ck_connector.8 | 19 ++++++++++---------
2 files changed, 23 insertions(+), 9 deletions(-)
commit 42f6afb560859bf0dab898ae4c8f6d23070ef268
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Apr 3 14:48:36 2007 -0400
make sure no values are NULL
pam-ck-connector/pam-ck-connector.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
commit bf9a5070a715f129e1182af149a46e55529edb61
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Apr 3 14:38:33 2007 -0400
check for empty string as well as null values
pam-ck-connector/pam-ck-connector.c | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
commit 8b1733abb942b4356485b4afcf1dc3bf04d1fedc
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Apr 3 12:25:41 2007 -0400
add some input validation
src/proc-linux.c | 18 +++++++++++++++---
1 files changed, 15 insertions(+), 3 deletions(-)
commit f073826f58541cbbe2b805f200a9d245d76c634c
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Apr 3 12:25:18 2007 -0400
daemonize a little earlier
src/main.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
commit 80dc652115e275a95b05bb6809825cc324d9475a
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Apr 3 11:42:43 2007 -0400
add a glib message to syslog handler
Also add ability to toggle debugging when SIGUSR1 is
received.
src/Makefile.am | 4 +-
src/ck-debug.c | 153 ---------------------------------------
src/ck-debug.h | 72 -------------------
src/ck-job.c | 21 +++---
src/ck-log.c | 197
+++++++++++++++++++++++++++++++++++++++++++++++++++
src/ck-log.h | 41 +++++++++++
src/ck-manager.c | 41 +++++------
src/ck-seat.c | 21 +++---
src/ck-session.c | 31 ++++----
src/ck-vt-monitor.c | 30 +++-----
src/main.c | 66 +++++++++++++++--
11 files changed, 366 insertions(+), 311 deletions(-)
commit 02b7dac1de29b7e323d9457f14b639582d0a2e04
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Apr 3 11:40:47 2007 -0400
bump the ac_prereq and use the docdir var
configure.ac | 16 +---------------
doc/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 16 deletions(-)
commit b5c2e362c3ae4c932f4acdba13e53d80f63b1777
Author: David Zeuthen <davidz@redhat.com>
Date: Mon Apr 2 18:38:51 2007 -0400
daemonize properly
src/main.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
commit b57d5c11612dbb896c53d65c01104bae586f6e17
Author: Michael Biebl <mbiebl@gmail.com>
Date: Mon Apr 2 16:16:16 2007 -0400
autoconf fixes, separate pamlibdir variable, path expansion at
make time
The attached patch does the following:
- Use a separate $pam-module-dir variable for the pam module
- Instead of defining a custom $slibdir variable, just use the
standard $libdir variable specified by autoconf
- Use the standard autoconf $docdir variable (Add AC_PREREQ(2.59)
for that).
- Drop AS_AC_EXPAND macro and remove AC_DEFINE_UNQUOTED for dir
variables.
+ Build the init script at make time using sed
+ Use defines in src/Makefile.am to pass the variables to gcc at
make time
- Consistently use AC_HELP_STRING everywhere
- Remove/Replace deprecated macros:
+ AM_INIT_AUTOMAKE takes the package name and version number
from AC_INIT
+ AM_CONFIG_HEADER -> AC_CONFIG_HEADERS
+ AC_OUTPUT -> AC_CONFIG_FILES
Patch is tested and make distcheck works.
acinclude.m4 | 44 ----------
configure.ac | 152
++++++++++++++++++------------------
data/ConsoleKit.in | 10 +-
data/Makefile.am | 13 +++
libck-connector/Makefile.am | 3 +-
libck-connector/ck-connector.pc.in | 2 +-
pam-ck-connector/Makefile.am | 3 +-
src/Makefile.am | 1 +
8 files changed, 99 insertions(+), 129 deletions(-)
commit 86740ea242d0b26758e8a8c43904a0fc88a195f6
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Apr 2 15:36:30 2007 -0400
add unix-user to parse list
Oops.
src/ck-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 41c329309a5c78d31495f97b2f4324a462c60568
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Apr 2 14:00:37 2007 -0400
add missing prefix and exec_prefix
Apparently this is required.
libck-connector/ck-connector.pc.in | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit 5f3b3a7aec1c2ef81dfe28d6167049ef82e81860
Author: Doug Goldstein <cardoe@gentoo.org>
Date: Fri Mar 30 16:59:21 2007 -0400
make pam module install into $slibdir
Basically the path for the pam module is hardcoded to /lib/security
which isn't right. Attached is a patch that uses the value of slibdir
for /lib/.
pam-ck-connector/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit a2b51f00af2143a90138c6ce1df1e7e9b4ec8afa
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Mar 26 14:39:44 2007 -0400
use xlib directly instead of via gdk
configure.ac | 5 ++-
tools/linux/ck-get-x11-server-pid.c | 39
++++++++++++++++++++++++++++------
2 files changed, 35 insertions(+), 9 deletions(-)
commit 4c365a8e28adafd6619ada97d4239e9e6df429ab
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Mar 19 16:35:55 2007 -0400
add CanActivateSessions to Seat interface
And associated documentation and added to test-fus.
doc/spec/ck-seat.xml | 12 ++++++++++++
doc/xml/ck-design.xml | 9 +++++++++
doc/xml/ref-ck-seat.xml | 12 +++++++-----
src/ck-seat.c | 14 ++++++++++++++
src/ck-seat.h | 32 ++++++++++++++++----------------
src/ck-seat.xml | 3 +++
src/test-fus | 6 ++++++
7 files changed, 67 insertions(+), 21 deletions(-)
commit c40a87c622ac1543dc2d9cdccc651e33affadcfa
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Mar 15 14:04:05 2007 -0400
fix missed pam_syslog change
Also make the configure checks simpler.
configure.ac | 5 ++---
pam-ck-connector/pam-ck-connector.c | 6 +++---
2 files changed, 5 insertions(+), 6 deletions(-)
commit 4a947eddfad4f384bb02c8e4771a59a7ad01cd8b
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Mar 15 12:55:15 2007 -0400
fix building pam module on debian systems
Only include what is available. Use a alternative to pam_syslog
if it isn't available.
configure.ac | 3 +
pam-ck-connector/pam-ck-connector.c | 101
++++++++++++++++++++++++++++++-----
2 files changed, 90 insertions(+), 14 deletions(-)
commit 54ad2d581ce690060a29fa8a4b94bf5dddbafc87
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Mar 15 10:05:37 2007 -0400
more typos in docs
doc/xml/ck-design.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit ac2061bfcbf5c38b6f82b307479064cd73274a9f
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Mar 15 01:48:34 2007 -0400
typo
doc/xml/ck-terms.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 2f434135af56d627a887c3cdc24020c4d9ecbde4
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Mar 14 23:35:58 2007 -0400
bump version
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit fee1f37461cd1e0abc479f263ecfd3e3570daa53
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Mar 14 23:33:51 2007 -0400
update for release
NEWS | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
commit e8fbb76428bbaae2525347cddda8a2f526970451
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Mar 14 23:21:33 2007 -0400
bump the version arbitrarily
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit a6f9d78d526892da92fdeef9bacd70ea6271b038
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Mar 14 23:21:08 2007 -0400
update todo
TODO | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 2e415f120e7652da842632cc822faa9bb16294f6
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Mar 14 23:18:13 2007 -0400
add some more docs
doc/xml/ck-design.xml | 166
+++++++++++++++++++++++++++++++++++++++++++
doc/xml/ck-introduction.xml | 2 +
doc/xml/ck-terms.xml | 49 ++++++++++++-
3 files changed, 213 insertions(+), 4 deletions(-)
commit 314b18ca8045eda3c48c0e7a5f2c0e26635ce5b8
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Mar 14 09:22:20 2007 -0400
add missing instead attribute
doc/dbus-introspect-docs.dtd | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 2f4b6ef24431fc9c4997e535f8b5e126eb5ae3db
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Mar 14 08:46:08 2007 -0400
don't include the generated html in git
doc/ConsoleKit.html | 317
---------------------------------------------------
doc/Makefile.am | 1 -
2 files changed, 0 insertions(+), 318 deletions(-)
commit f1ad1ddf9cd5898b4bca3875a698a9628313eb19
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Mar 14 08:45:44 2007 -0400
dont' mark the user properties to be set in the constructor
Now that we have two properties (one deprecated) that refer
to the same thing we can't require that they are both set
during the constructor. Furthermore, we can't require
that either of them are set because we don't know which
will be used.
src/ck-session.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit c01153022b0fa850bd10503141ff081749f01d4d
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Mar 13 17:29:46 2007 -0400
missed a namespace on the permission tag
doc/ConsoleKit.html | 132
++++++++++++++++++++++----------------------
doc/spec/ck-session.xml | 4 +-
doc/xml/ref-ck-session.xml | 4 +-
3 files changed, 70 insertions(+), 70 deletions(-)
commit 4a531bc467c9a142cb2d05792e6f9e9330c199ff
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Mar 13 15:20:37 2007 -0400
updated doc dtd
doc/ConsoleKit.html | 128
+++++++++++++++++++++---------------------
doc/dbus-introspect-docs.dtd | 2 +-
2 files changed, 65 insertions(+), 65 deletions(-)
commit 608080a2f755254a590b4d052451461294fbcee4
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Mar 13 14:34:32 2007 -0400
add a new configure option --with-slibdir to use for connector
Turns out that just using libdir breaks the .pc file install.
configure.ac | 15 +++++++++++++++
libck-connector/Makefile.am | 3 ++-
libck-connector/ck-connector.pc.in | 2 +-
3 files changed, 18 insertions(+), 2 deletions(-)
commit 0f1d6b3b234a1f8d8c6b9dff38388ab58f695b64
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Mar 13 13:50:58 2007 -0400
deprecate the user properties and add unix-user properties
Also added deprecated notes to the docs. New code should
be using GetUnixUser instead of GetUser etc.
doc/ConsoleKit.html | 141
+++++++++++++++++++--------------
doc/dbus-introspect-docs.dtd | 2 +-
doc/spec/ck-manager.xml | 22 +++++
doc/spec/ck-session.xml | 21 +++++
doc/tools/spec-to-docbook.xsl | 75 +++++++++++++++--
doc/xml/ref-ck-manager.xml | 15 +++-
doc/xml/ref-ck-session.xml | 24 +++++-
src/ck-manager.c | 25 ++++--
src/ck-manager.h | 4 +
src/ck-manager.xml | 5 +
src/ck-session.c | 44 ++++++++--
src/ck-session.h | 8 ++-
src/ck-session.xml | 4 +
tools/linux/ck-collect-session-info.c | 2 +-
tools/list-sessions.c | 2 +-
15 files changed, 295 insertions(+), 99 deletions(-)
commit 921b5e02edf59117b64385edbe4d191819d90abd
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Mar 13 12:11:04 2007 -0400
add more doc stubs
doc/ConsoleKit.html | 122
+++++++++++++++++++++++--------------------
doc/ConsoleKit.xml.in | 4 ++
doc/Makefile.am | 2 +
doc/xml/ck-design.xml | 5 ++
doc/xml/ck-introduction.xml | 6 ++
doc/xml/ck-terms.xml | 26 +++++++++
6 files changed, 108 insertions(+), 57 deletions(-)
commit 4a639d92a6f1a5dd8f59d57ade37d4cff420b66a
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Mar 13 11:41:31 2007 -0400
various leak fixes
src/ck-manager.c | 38 +++++++++++++++++++++++++++++++++++---
src/ck-seat.c | 15 +++++++++++----
src/ck-session.c | 32 +++++++++++++++++++-------------
src/main.c | 4 +++-
4 files changed, 68 insertions(+), 21 deletions(-)
commit 1e7af7e9c648fb461e0d36d037d2920519159525
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Mar 13 10:05:31 2007 -0400
convert to utf8 and xhtml output
Seems to fix some problems with invalid characters showing up.
doc/ConsoleKit.html | 122
+++++++++++++++++++++--------------------
doc/Makefile.am | 2 +-
doc/tools/spec-to-docbook.xsl | 2 +-
3 files changed, 64 insertions(+), 62 deletions(-)
commit 8b42a4928a0a266c3b3ae6bb13997764bc7f6405
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Mar 13 03:42:04 2007 -0400
add the last bits of spec framework
The spec is the introspection format extended with
docs. There are tools to build docbook and strip
the docs to make dbus introspect xml.
doc/ConsoleKit.html | 336 +++++++++++++++++++++++++++--------
doc/ConsoleKit.xml.in | 9 +-
doc/Makefile.am | 8 +-
doc/ck-introduction.xml | 23 ---
doc/dbus-introspect-docs.dtd | 31 ++++
doc/docbook-dbus.xsl | 261 ---------------------------
doc/docbook.css | 5 +
doc/docize-dbus-xml.sh | 34 ----
doc/ref-ck-manager.xml | 181 -------------------
doc/ref-ck-seat.xml | 111 ------------
doc/ref-ck-session.xml | 350 -----------------------------------
doc/spec/ck-manager.xml | 286 +++++++++++++++++++++++++++++
doc/spec/ck-seat.xml | 110 +++++++++++
doc/spec/ck-session.xml | 401
+++++++++++++++++++++++++++++++++++++++++
doc/tools/spec-strip-docs | 34 ++++
doc/tools/spec-strip-docs.xsl | 36 ++++
doc/tools/spec-to-docbook | 34 ++++
doc/tools/spec-to-docbook.xsl | 379
++++++++++++++++++++++++++++++++++++++
doc/tools/update-from-spec | 25 +++
doc/xml/ck-introduction.xml | 20 ++
doc/xml/ref-ck-manager.xml | 174 ++++++++++++++++++
doc/xml/ref-ck-seat.xml | 72 ++++++++
doc/xml/ref-ck-session.xml | 240 ++++++++++++++++++++++++
src/ck-manager.xml | 16 +--
src/ck-seat.xml | 14 +-
src/ck-session.xml | 11 +-
26 files changed, 2131 insertions(+), 1070 deletions(-)
commit 4595ab3d4953d6257a6fedfe5b294df67ff3581f
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Mar 13 03:39:52 2007 -0400
install the connector into libdir by default
If building the PAM module then it probably should be going
into /lib. However, hardcoding /lib makes it very difficult
to build as non-root, breaks make distcheck, and probably
isn't correct for 64 bit systems. If you are a distro you
should probably configure using --libdir=/lib.
libck-connector/Makefile.am | 3 +--
libck-connector/ck-connector.pc.in | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
commit 29437f4aa9bd1bab54bde41cb1f6301803a2632e
Author: William Jon McCann <mccann@jhu.edu>
Date: Sat Mar 10 18:02:29 2007 -0500
regenerate docs
doc/ConsoleKit.html | 72
++++++++++++++++++++++++------------------------
doc/ref-ck-session.xml | 36 ++++++++++++------------
2 files changed, 54 insertions(+), 54 deletions(-)
commit 6ce9a74f69f611bc5aeeb57a4bf9efea19774938
Author: William Jon McCann <mccann@jhu.edu>
Date: Sat Mar 10 17:05:06 2007 -0500
add the generated doc html
doc/.gitignore | 1 -
doc/ConsoleKit.html | 96
+++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 96 insertions(+), 1 deletions(-)
commit 50ff6eda31c06cea4e3b8010d114e66cfdb3f6e6
Author: William Jon McCann <mccann@jhu.edu>
Date: Fri Mar 9 13:51:21 2007 -0500
give root permission to use the property interface
data/ConsoleKit.conf | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
commit 093539956ac0a5092a5fdc39f8b27475071032c4
Author: William Jon McCann <mccann@jhu.edu>
Date: Fri Mar 9 13:50:10 2007 -0500
fix the user prop type
src/ck-session.xml | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
commit c8dbc4b6a38b99ed192f5ed2f73f57014a49d50a
Author: William Jon McCann <mccann@jhu.edu>
Date: Fri Mar 9 12:36:09 2007 -0500
add a few more parameters to session idl
doc/ref-ck-session.xml | 90
+++++++++++++++++++++++++++++++++++++++++++++++-
src/ck-session.xml | 8 ++++
2 files changed, 97 insertions(+), 1 deletions(-)
commit d5061bf16725bc711f7ddcff02e77a94014107f5
Author: William Jon McCann <mccann@jhu.edu>
Date: Fri Mar 9 12:35:30 2007 -0500
add uuid to cookie
src/ck-manager.c | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
commit 1d72374535de222cb816c74506555c71af10d429
Author: William Jon McCann <mccann@jhu.edu>
Date: Fri Mar 9 11:40:59 2007 -0500
add a tool to autogenerate dbus object ref docs
I hope I didn't reinvent a wheel but it seems to
work much better than hand coding these refentries.
Still need to add support for comments and actual
descriptions ala gtk-doc.
doc/ConsoleKit.xml.in | 10 ++-
doc/Makefile.am | 6 +-
doc/ck-dbus-manager.xml | 52 ---------
doc/ck-dbus-seat.xml | 39 -------
doc/ck-dbus-session.xml | 55 ----------
doc/docbook-dbus.xsl | 261
++++++++++++++++++++++++++++++++++++++++++++++
doc/docize-dbus-xml.sh | 34 ++++++
doc/ref-ck-manager.xml | 181 ++++++++++++++++++++++++++++++++
doc/ref-ck-seat.xml | 111 ++++++++++++++++++++
doc/ref-ck-session.xml | 262
+++++++++++++++++++++++++++++++++++++++++++++++
src/ck-manager.xml | 12 ++-
src/ck-seat.xml | 12 ++-
src/ck-session.xml | 9 ++-
13 files changed, 884 insertions(+), 160 deletions(-)
commit 15ad40c8d8abd86a4b83e445031fd467406b45d8
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Mar 8 22:09:41 2007 -0500
tweak the css for the docs
doc/ConsoleKit.xml.in | 4 --
doc/docbook.css | 77
++++++++++++++++++++++++++++++++++++++++++-------
2 files changed, 66 insertions(+), 15 deletions(-)
commit 54246537dfdcb89ee34dfbaa8b909b94ae2845b9
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Mar 8 21:24:25 2007 -0500
update all .gitignore files
.gitignore | 1 +
libck-connector/.gitignore | 9 +++++++++
pam-ck-connector/.gitignore | 8 ++++++++
tools/.gitignore | 2 +-
tools/linux/.gitignore | 9 +++++++++
5 files changed, 28 insertions(+), 1 deletions(-)
commit 1702970a3ea3de88f04623f69a3ab5260f77d2c5
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Mar 8 21:16:40 2007 -0500
add a stub for docbook documentation
Makefile.am | 1 +
configure.ac | 102
+++++++++++++++++++++++++++++++++--------------
doc/.gitignore | 6 +++
doc/ConsoleKit.xml.in | 69 +++++++++++++++++++++++++++++++
doc/Makefile.am | 37 +++++++++++++++++
doc/ck-dbus-manager.xml | 52 ++++++++++++++++++++++++
doc/ck-dbus-seat.xml | 39 ++++++++++++++++++
doc/ck-dbus-session.xml | 55 +++++++++++++++++++++++++
doc/ck-introduction.xml | 23 +++++++++++
doc/config.xsl | 6 +++
doc/docbook.css | 18 ++++++++
11 files changed, 378 insertions(+), 30 deletions(-)
commit ef7ee407bc58ea24db828cad9e1e7d628e322067
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Mar 8 21:06:55 2007 -0500
prevent the use of the glib properties interface
We don't want anyone to be able to directly modify properties.
Also make these policies mandatory.
data/ConsoleKit.conf | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
commit f4173a08a83db8879ae9c82356f7a9702cb4f883
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Mar 7 14:53:01 2007 -0500
update todo
TODO | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
commit ef83e4007f375db0ee8f240d2bf292331a5a76cb
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Mar 6 18:46:25 2007 -0500
remove debug noise
src/ck-session.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 701349f1ad564242c143cab6773dde0de6396db8
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Mar 6 18:32:49 2007 -0500
add very basic idle monitoring of text sessions and rework parameter
parsing
Rework the parameter parsing so it is a bit more robust and so that
parameters can get passed to the constructor.
src/ck-session.c | 223
+++++++++++++++++++++++++++++----
src/test-open-session-with-parameters | 5 +-
2 files changed, 205 insertions(+), 23 deletions(-)
commit dc5e9585215f34ec78b68fbb6da990a90d8f3a1b
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Mar 6 16:07:24 2007 -0500
use paths.h if available
configure.ac | 2 ++
pam-ck-connector/pam-ck-connector.c | 14 ++++++++++++--
pam-ck-connector/test-pam.c | 8 +++++++-
src/ck-seat.c | 11 +++++++++--
src/getfd.c | 28 +++++++++++++++++++++-------
src/proc-linux.c | 10 +++++++---
6 files changed, 58 insertions(+), 15 deletions(-)
commit ce4ee7b54d40faf13e005285e5b85a061f21e256
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Mar 6 15:36:56 2007 -0500
add some items in a TODO file
TODO | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
commit 96d209ea26485c6b6f23a469ee1d2db672e6697a
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Mar 6 15:01:07 2007 -0500
exit if we can't acquire name at startup and fix a glib warning
src/main.c | 41 ++++++++++++++++++++++++++++++++---------
1 files changed, 32 insertions(+), 9 deletions(-)
commit 98ea3604c92a4c0317d2f9626f097bc384caf70a
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Mar 6 02:32:10 2007 -0500
add is-local back to the pam module
pam-ck-connector/pam-ck-connector.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit 699923e665a4606a1b3f6822e4e4917f86a2a713
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Mar 6 02:31:45 2007 -0500
check for empty strings as well as null
src/ck-manager.c | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
commit d9ca86ae5acb8a4a56e875c9ad0ed617f50abf65
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Mar 6 00:25:06 2007 -0500
use a slightly more sophisticated rule for adding sessions to
static seat
src/ck-manager.c | 37
++++++++++++++++++++++++++++----
src/test-open-session-with-parameters | 1 +
2 files changed, 33 insertions(+), 5 deletions(-)
commit a3cb617b1fd3be5199c0dfc08aee0af4b04d1a8b
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Mar 6 00:24:02 2007 -0500
allow for the possibility of matching multiple sessions for device
In the event that there is more than one session that matches
a particular tty when the VT changes we use the following rule:
1. take the oldest session where display-device == active VT device
2. take the oldest session where x11-display-device == active
VT device
src/ck-seat.c | 160
+++++++++++++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 145 insertions(+), 15 deletions(-)
commit 08436b041d6b334a5754266b11385941a71d3f81
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Mar 5 21:56:52 2007 -0500
add x11-display-device to parse table
src/ck-manager.c | 13 +++++++------
src/test-open-session | 2 ++
2 files changed, 9 insertions(+), 6 deletions(-)
commit 5cc0ba8ec8c988d0068b07e4f67839d42b357537
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Mar 5 20:36:59 2007 -0500
try to parse the real meaning of PAM_TTY
pam-ck-connector/pam-ck-connector.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
commit 2e38a7026491595e6837fa8c02e077584fc71b71
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Mar 5 19:14:14 2007 -0500
fix the example code
libck-connector/ck-connector.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit a9a48c07142025841a69da6fc30c6a1fbd29727a
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Mar 5 19:10:51 2007 -0500
use with_parameters and add remote-host-name if available
pam-ck-connector/pam-ck-connector.c | 49
+++++++++++++++++++++++++++-------
1 files changed, 39 insertions(+), 10 deletions(-)
commit 0293d43731d125b825fa8962976b527bf46b65d6
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Mar 5 19:10:02 2007 -0500
add a with_parameters function to connector
libck-connector/ck-connector.c | 395
+++++++++++++++++++++-----------------
libck-connector/ck-connector.h | 36 ++--
libck-connector/test-connector.c | 18 ++-
3 files changed, 255 insertions(+), 194 deletions(-)
commit d588a897fef3af61a7368226986b384fce2524e7
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Mar 5 19:08:15 2007 -0500
rename host-name in one more place
src/ck-manager.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
commit 7dfb9732b27778722214531d0c17b7e50e8a2fe1
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Mar 5 15:24:56 2007 -0500
rename host-name to remote-host-name to make it more intuitive
libck-connector/ck-connector.c | 8 -----
src/ck-session.c | 49
++++++++++++++++++---------------
src/ck-session.h | 6 ++--
src/ck-session.xml | 4 +-
tools/linux/ck-collect-session-info.c | 12 ++++----
tools/list-sessions.c | 12 ++++----
6 files changed, 44 insertions(+), 47 deletions(-)
commit ed0e87a5f66d88d6f388229e1bf71632bb0f1308
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Mar 5 14:49:47 2007 -0500
add x11-display-device to ck-list-sessions
tools/list-sessions.c | 28 ++++++++++++++++++++++------
1 files changed, 22 insertions(+), 6 deletions(-)
commit 4749b0ecb6241517685a2a809695a85bd9f93432
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Mar 5 14:39:07 2007 -0500
add two more proc sysdep functions
src/proc-linux.c | 53
+++++++++++++++++++++++++++++++++++++++++++++++++++++
src/proc.h | 4 ++++
2 files changed, 57 insertions(+), 0 deletions(-)
commit 4b245b3113480d495440e1b7d32eb4dc6d564c8c
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Mar 5 12:12:59 2007 -0500
add x11-display-device attribute
In certain cases it is necessary to distinguish the display-device
(tty of session leader) from the x11-display-device (tty of xorg
process).
src/ck-session.c | 60 ++++++++++--
src/ck-session.h | 172
+++++++++++++++++----------------
src/ck-session.xml | 3 +
tools/linux/ck-collect-session-info.c | 29 ++++--
4 files changed, 164 insertions(+), 100 deletions(-)
commit 67fa39aacf65117a85533035a71ee09b184003dc
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Mar 5 11:18:32 2007 -0500
use an async job to collect session info
Use an async helper job to collect session info for the
OpenSession() method.
src/Makefile.am | 2 +
src/ck-job.c | 392
+++++++++++++++++++++++++++++++++
src/ck-job.h | 76 +++++++
src/ck-manager.c | 278 +++++++++++++++++-------
tools/linux/ck-collect-session-info.c | 11 +-
5 files changed, 681 insertions(+), 78 deletions(-)
commit f67761a042ff8b29d7689a043a53110d0bbbf6e9
Author: David Zeuthen <david@fubar.dk>
Date: Mon Mar 5 10:26:10 2007 -0500
allow uid 0 to use the pam module
So in Fedora's Rawhide /bin/login is now using libck-connector via the
PAM module and CK will track such sessions. However, it doesn't work
when root logs in and I think that's a bug. Attached patch should
fix it
(is already in Rawhide). Thanks.
David
libck-connector/ck-connector.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
commit 4f0911bf685f51b51d05a69a40d3950debb995a0
Author: William Jon McCann <mccann@jhu.edu>
Date: Fri Mar 2 17:51:37 2007 -0500
add linux backends for collecting session information
These tools will be used to generate and verify the parameters
used to open a session.
configure.ac | 5 +
src/proc-linux.c | 57 +++++
src/proc.h | 20 +-
tools/linux/Makefile.am | 23 ++-
tools/linux/ck-collect-session-info.c | 390
+++++++++++++++++++++++++++++++++
tools/linux/ck-get-x11-server-pid.c | 75 +++++++
6 files changed, 560 insertions(+), 10 deletions(-)
commit 75ad4b862611bd6a39bda06db3db4c9737657dad
Author: David Zeuthen <davidz@redhat.com>
Date: Thu Mar 1 15:23:14 2007 -0500
dist the manual page for the PAM module
pam-ck-connector/Makefile.am | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit 1d1b98cd17764be77b1aee79efae8e89ce7faa04
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Mar 1 14:24:27 2007 -0500
add a test program for the PAM module
Basically this is a mini login. It authenticates, opens a session,
sleeps 20 seconds, and then closes the session.
configure.ac | 4 +
pam-ck-connector/Makefile.am | 38 +++++++++-
pam-ck-connector/pam-ck-connector.c | 2 +-
pam-ck-connector/test-pam.c | 135
+++++++++++++++++++++++++++++++++++
4 files changed, 174 insertions(+), 5 deletions(-)
commit e37a78dfc5abcb3b02cb5debaa24122fa9b949c4
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Mar 1 13:08:17 2007 -0500
fix some typos
pam-ck-connector/pam-ck-connector.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
commit 6eae9c8ba66c9a7469a2cdea88c16048fdbe2638
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Feb 28 14:20:40 2007 -0500
add a test program for the connector
Add a simple test app for the connector. Adapted from
the example David put in the header.
libck-connector/Makefile.am | 59 ++++++++++++++++++++++----
libck-connector/test-connector.c | 85
++++++++++++++++++++++++++++++++++++++
2 files changed, 135 insertions(+), 9 deletions(-)
commit 1905aa0cb4a680308949e366c21803bcf542d9e1
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Feb 28 14:19:44 2007 -0500
change the connector API a bit + misc anality
I modified the API of the new connector a bit.
* include errors
* make names a bit more consistent with what they do
* have symmetry between open and close
* use refcounting
* do parameter checking on inputs
I also made some changes to whitespace and style. And converted
descriptions to gtkdoc style comments.
libck-connector/ck-connector.c | 886
+++++++++++++++++++++++------------
libck-connector/ck-connector.h | 108 +----
pam-ck-connector/pam-ck-connector.c | 287 +++++++-----
3 files changed, 762 insertions(+), 519 deletions(-)
commit fed7e94f76c4279015354ff210bc72f1ac68af70
Author: David Zeuthen <davidz@redhat.com>
Date: Wed Feb 28 13:52:17 2007 -0500
add a connector library and (reluctantly) a PAM module
Here are some patches to add one library and one PAM module so other
programs (apart from gdm) can easily interact with ConsoleKit. It's
mainly going to be used, I think, by login(1) and xinit(1). I'm not
super happy about doing a PAM module but the Fedora util-linux package
maintainer seems to be insist on this instead of just patching
login(1).
The PAM module isn't built by default. Both pieces of code are
licensed
under the MIT license as god knows what might want to use them. Sounds
good to you?
Makefile.am | 2 +
configure.ac | 29 +++
libck-connector/Makefile.am | 22 ++
libck-connector/ck-connector.c | 381
+++++++++++++++++++++++++++++++++++
libck-connector/ck-connector.h | 122 +++++++++++
libck-connector/ck-connector.pc.in | 9 +
pam-ck-connector/Makefile.am | 17 ++
pam-ck-connector/pam-ck-connector.c | 228 +++++++++++++++++++++
pam-ck-connector/pam_ck_connector.8 | 80 ++++++++
9 files changed, 890 insertions(+), 0 deletions(-)
commit 8b33f57e8cd5f451d55fbb0f9bcc3c119a076326
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Feb 28 10:50:46 2007 -0500
add framework for backend tools
System dependent tools will be built in subdirectories under tools.
configure.ac | 23 +++++++++++++++++++++++
tools/Makefile.am | 8 ++++++++
tools/linux/Makefile.am | 33 +++++++++++++++++++++++++++++++++
3 files changed, 64 insertions(+), 0 deletions(-)
commit 593d2ae454f225c545c35398ddfd2c92389e48a7
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Feb 28 10:47:51 2007 -0500
lay the groundwork for making open session async
Restructure things a bit so that we can be completely async
about creating sessions. We want to do this so we can use
callouts to gather session info or to verify info. Also
make the OpenSession create a parameter list and then create
the session rather than creating the session and changing
attributes. This is less racy and the session will be complete
and correct before any signals are emitted.
src/ck-manager.c | 370
+++++++++++++++++++++++++++++++++++++-----------------
1 files changed, 252 insertions(+), 118 deletions(-)
commit 160f1cdb75e631743312cfd26fb41831ed0f5c8c
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Feb 28 10:43:17 2007 -0500
don't rely on evironment getting updated in python scripts
src/test-open-session-with-parameters | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
commit 7c64a3ab942df6232f1386808a817ff5ecad1311
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Feb 27 12:44:58 2007 -0500
install the list-sessions tool as ck-list-sessions
tools/Makefile.am | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
commit 75c0717053780fe51471213cdb21ee8019bfbb6e
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Feb 26 17:08:23 2007 -0500
post release version bump
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit f772ad2e5c57010f3ca0bbd04a0b490e8f78c07d
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Feb 26 17:07:06 2007 -0500
update news for release
Also fix a distcheck error.
NEWS | 13 +++++++++++++
src/Makefile.am | 3 ++-
2 files changed, 15 insertions(+), 1 deletions(-)
commit 35b022fde7836d0edb5819d4f8be29bd1b9a20d9
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Feb 26 15:18:49 2007 -0500
rename some items in proc.h api; add some more error checking
Make the proc.h API more coherent. Convert some warnings
to debug statements. Fix two leaks. Add more error checking.
src/ck-manager.c | 104
++++++++++++++++++++++++++++++++++--------------------
src/proc-linux.c | 42 ++++++++++++---------
src/proc.h | 17 +++++----
3 files changed, 99 insertions(+), 64 deletions(-)
commit 8fa6f59953fbcae779008c7cdf12441e995b1ca3
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Feb 21 13:22:37 2007 -0500
add support for glib < 2.12
Copy the iso8601 function from glib to support versions less than
2.12.
src/ck-manager.c | 25 ++++++++++++++++++++++++-
src/ck-session.c | 27 +++++++++++++++++++++++++--
2 files changed, 49 insertions(+), 3 deletions(-)
commit 20d3103338d253d09ba7317e6a53310fa9680794
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Feb 21 11:31:54 2007 -0500
make separate test scripts for open session methods
src/ck-manager.c | 1 +
src/test-open-session | 44
++++++++++++++++++++++++++++++
src/test-open-session-with-parameters | 47
+++++++++++++++++++++++++++++++++
src/test-session | 47
---------------------------------
4 files changed, 92 insertions(+), 47 deletions(-)
commit 0a8a82bf2701eadb3ef8c3ea927b1d61ea0f68ba
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Feb 21 11:31:09 2007 -0500
don't use null parameters
src/ck-session.c | 32 +++++++++++++++++---------------
1 files changed, 17 insertions(+), 15 deletions(-)
commit eb9361c9b0b05c3bd51de7325c3327db79431fc9
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Feb 20 14:45:40 2007 -0500
add a system-idle-hint and system-idle-since-hint
The system idle hint is TRUE when there are no busy (ie non-idle)
sessions.
So the system is idle when there are no sessions or all sessions
are idle.
src/ck-manager.c | 160
++++++++++++++++++++++++++++++++++++++++++++++------
src/ck-manager.h | 20 +++++-
src/ck-manager.xml | 8 +++
3 files changed, 166 insertions(+), 22 deletions(-)
commit ef89bbdb1be20fbca2a83037fcc922b444b7b513
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Feb 20 14:43:27 2007 -0500
make the idle hint getters sync dbus methods
This makes it easier to use from C code. Also fix a bug where
we weren't emitting the argument in the idle-hint-changed signal.
src/ck-session.c | 23 ++++++++++++++++-------
src/ck-session.h | 6 ++++--
src/ck-session.xml | 2 --
3 files changed, 20 insertions(+), 11 deletions(-)
commit 10a6532e35f4e40135006329a6975942ee896817
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Feb 20 12:07:29 2007 -0500
rename idle methods and signal to indicate they are hints
Rename GetIdle to GetIdleHint (etc) to make it clear that these
are not authoritative properties.
src/ck-session.c | 62
++++++++++++++++++++++++------------------------
src/ck-session.h | 24 +++++++++---------
src/ck-session.xml | 12 ++++----
tools/list-sessions.c | 12 ++++----
4 files changed, 55 insertions(+), 55 deletions(-)
commit 7f7124d4f7583347043b271472e570614d975f35
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Feb 19 17:59:54 2007 -0500
limit the use of errno
Try to limit the use of errno in case it can change.
src/ck-vt-monitor.c | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
commit 5376650940e9018a0d3e97367d2979f90af749bc
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Feb 19 16:14:22 2007 -0500
handle the no console fd case better
Don't spew warnings when getfd() can't find a suitable console fd.
Also
add a comment to note where getfd.c comes from.
src/ck-vt-monitor.c | 42 ++++++++++++++++++++++++++++++++----------
src/getfd.c | 6 ++++++
2 files changed, 38 insertions(+), 10 deletions(-)
commit 4d7e3eec89f706cb9a46fd84359de3da1868245d
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Feb 19 15:42:37 2007 -0500
improve thread safety
Change to using an async queue for events from VT watching threads.
Add
mutex protection to shared data. Compress the event queue when
possible by
discarding all but the most recent VT activation event.
src/ck-vt-monitor.c | 226
+++++++++++++++++++++++++++++++++++++++------------
1 files changed, 174 insertions(+), 52 deletions(-)
commit 51ff0be15b7bd4a48fd07ada4822f07ddc028af0
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Feb 15 17:20:46 2007 -0500
split list-sessions output onto separate lines
It was getting impossible to read all on one line.
tools/list-sessions.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
commit 497cc86462934168ab8cd379ab1130d4ef5d039b
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Feb 15 16:15:16 2007 -0500
add creation and idle-since times
Added GetCreationTime and GetIdleSince methods. And added the
output to the list-sessions tool.
src/ck-session.c | 49
+++++++++++++++++++++++++++++++++++++++++++++++++
src/ck-session.h | 5 +++++
src/ck-session.xml | 7 +++++++
tools/list-sessions.c | 17 +++++++++++++++--
4 files changed, 76 insertions(+), 2 deletions(-)
commit cbe9b9ba1ca59d25365593fdc1a66f9ffd3183ca
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Feb 15 15:28:27 2007 -0500
implement get/set idle methods
Add the GetIdle and SetIdle methods, and the IdleChanged signal.
SetIdle is restricted to the uid of the session in question.
src/ck-session.c | 166
+++++++++++++++++++++++++++++++++++++++++++++++++---
src/ck-session.h | 7 +-
src/ck-session.xml | 11 ++++
3 files changed, 173 insertions(+), 11 deletions(-)
commit 66c740f30d36bac8f7b56261f0bd595b297d3dd2
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Feb 15 15:26:06 2007 -0500
restrict access to CloseSession
Only allow the uid and pid that opened the session to close it.
src/ck-manager.c | 77
++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 77 insertions(+), 0 deletions(-)
commit be0751cd3ec3638082721b1556c07a4238c6c4ac
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Feb 15 15:23:06 2007 -0500
convert all tabs to spaces
src/ck-manager.c | 154
+++++++++++++++++++++++++++---------------------------
src/ck-seat.c | 18 +++---
src/ck-session.c | 14 +++---
3 files changed, 93 insertions(+), 93 deletions(-)
commit 4009566af9a47aa4a41dac689ff89f017d6dc8db
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Feb 15 15:22:20 2007 -0500
fix compiler warning
src/getfd.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
commit 6c532b986e2a05bf666a8409cf130651e8461874
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Feb 13 08:07:19 2007 -0500
fix warning from missing include
src/ck-vt-monitor.c | 2 +-
src/main.c | 9 +++++----
2 files changed, 6 insertions(+), 5 deletions(-)
commit 4800bf1e4a3706b6829ccc875d040a64a8d17aad
Author: S.Çağlar Onur <caglar@pardus.org.tr>
Date: Tue Feb 13 07:03:50 2007 -0500
create and delete pid file
While try to play with ConsoleKit i realize it cannot create its
pid file, so
if needed attached patch adds that with copy/paste from PolicyKit :).
src/main.c | 25 ++++++++++++++++++++++++-
1 files changed, 24 insertions(+), 1 deletions(-)
commit 1bd5d81ed1c69074d48158a337043fc569970b75
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Feb 12 17:02:35 2007 -0500
post release version bump
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 87813890f09c1e1ac16f617e8baf7d523e971381
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Feb 12 16:56:24 2007 -0500
add more warnings when building from git
configure.ac | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
commit 32d47eb2f93f97c29b2582add77b54428aefef5a
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Feb 12 16:53:24 2007 -0500
update for release
NEWS | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
commit 3444585150a2f88ccfe92ba5f3959961428d597c
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Feb 12 16:15:51 2007 -0500
use the supplied vt number when updating active session
Just the use vt number given by the vt-manager instead of
asking for the current vt again. A little bit less racy this way.
src/ck-seat.c | 31 +++++++++++++++++++------------
1 files changed, 19 insertions(+), 12 deletions(-)
commit dc427221e1c5028465f4a78132374662341ca3b7
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Feb 8 14:12:10 2007 -0500
Bump thread stack size up to 64k
The minimum stack size 16k seems to crash glibc
when we do printf in debug.
src/ck-vt-monitor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 0c695fd6c3279e8b3f3336337bdc0d66689eff9a
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Feb 7 14:51:16 2007 -0500
support for reconnecting to the system bus
Instead of exiting on disconnect this attempts to reconnect.
Based on patch from: Timo Hoenig <thoenig@suse.de>
src/main.c | 198
++++++++++++++++++++++++++++++++++++++++++++++--------------
1 files changed, 153 insertions(+), 45 deletions(-)
commit 975ccd898da30b3904e287848d6d7661ed0a9dfe
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Feb 7 14:49:05 2007 -0500
reduce the debug buffer size
Reduce the buffer size in the debugging code.
src/ck-debug.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
commit 4cf47cb3072a7995e6dc87fcc7dd4bafe76256f8
Author: David Zeuthen <david@fubar.dk>
Date: Wed Feb 7 11:01:52 2007 -0500
start ck before hal
We should start CK before HAL (especially in light of some changes in
HAL I'm working on); this patch does that for RH based systems. Please
apply. Thanks!
data/ConsoleKit.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 7dcf31d02463faa3c59a9417dae654668d03fea9
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Feb 7 10:57:55 2007 -0500
don't refer to the hal repo
Oops.
HACKING | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 98addf1933cd24f546177dd4b158c770ea404df0
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Feb 7 10:53:30 2007 -0500
add more information
Add more information that was stolen from the HAL HACKING file.
The parts on how to use git are particularly useful.
HACKING | 94
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 91 insertions(+), 3 deletions(-)
commit 7e4ffe9ca1d65afeb094ee1bb71b0a7751e09e1c
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Feb 6 11:49:35 2007 -0500
Don't keep last session active when switching to a VT without
a session registered on it.
Patch from: David Zeuthen
src/ck-seat.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
commit dc17c930b2ba7dd0a4d0c1ba12c75aa2db18d5a6
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Feb 6 11:46:48 2007 -0500
Add some more debugging output
src/ck-manager.c | 8 +++++++-
src/ck-session.c | 4 +++-
2 files changed, 10 insertions(+), 2 deletions(-)
commit 89ee325cf6a0006e48ce702cd5626b7ef4021b04
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Feb 6 11:46:21 2007 -0500
Make threads use minimum stack size rather than the default.
Patch from: mclasen@redhat.com
src/ck-vt-monitor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit a7208ca3337fef21daa9cd39e0178fe46d31ab99
Author: William Jon McCann <mccann@jhu.edu>
Date: Fri Jan 12 16:11:00 2007 -0500
Rename dbus config file.
data/ConsoleKit.conf | 49
+++++++++++++++++++++++++++++++++++++++++++++++++
data/Makefile.am | 2 +-
data/console-kit.conf | 49
-------------------------------------------------
3 files changed, 50 insertions(+), 50 deletions(-)
commit be3fef886b70ccfd5ee48bcd5d9f4cb0256ecbdc
Author: William Jon McCann <mccann@jhu.edu>
Date: Fri Jan 12 15:59:04 2007 -0500
Change a console-kit to ConsoleKit in a few places
configure.ac | 11 ++++++-----
data/ConsoleKit.in | 8 ++++----
2 files changed, 10 insertions(+), 9 deletions(-)
commit e7774625aa136e766c064f39d83d031c5af8d900
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Jan 11 11:03:30 2007 -0500
Post release version bump
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 9ced94ab8b658ae31e8d2652d6cfe4d635459014
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Jan 11 10:54:39 2007 -0500
Update for 0.1.0 release
NEWS | 7 +++++++
configure.ac | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
commit e6b013eb3b5310357d6a62a405fcc1da8aad0cf8
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Jan 10 22:45:05 2007 -0500
Add HACKING and README.
HACKING | 8 ++++++++
Makefile.am | 1 +
README | 26 ++++++++++++++++++++++++++
3 files changed, 35 insertions(+), 0 deletions(-)
commit 47b6509e6f386bf47244922b2c3cf5637be117a3
Author: William Jon McCann <mccann@jhu.edu>
Date: Fri Nov 17 17:39:51 2006 -0500
Dist the ChangeLog, sigh.
Makefile.am | 1 +
configure.ac | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
commit c05a0ed330836b4f9569b6b6c96d853b8207c33a
Author: William Jon McCann <mccann@jhu.edu>
Date: Fri Nov 17 17:33:22 2006 -0500
Automatically generate ChangeLog. Fix autogen. Remove translation
stuff.
Makefile.am | 26 ++-
autogen.sh | 549
++++++++++++++------------------------------------------
configure.ac | 2 -
po/POTFILES.in | 3 -
4 files changed, 158 insertions(+), 422 deletions(-)
commit babc733eff30a2be18fa3f99bc3ef4f14e35d259
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Nov 6 15:28:41 2006 -0500
Fix some small leaks. Add --timed-exit to daemon for valgrinding.
src/ck-manager.c | 11 ++++++++++-
src/ck-session.c | 2 ++
src/main.c | 3 ++-
src/test-session | 3 ++-
src/valgrind.sh | 4 ++--
5 files changed, 18 insertions(+), 5 deletions(-)
commit be02d5de51072235c20d6974f0cccb485055a02e
Author: William Jon McCann <mccann@jhu.edu>
Date: Mon Nov 6 00:35:01 2006 -0500
Show message even when error is NULL. Fix valgrind script.
src/ck-manager.c | 1 -
src/main.c | 4 ++++
src/valgrind.sh | 4 ++--
3 files changed, 6 insertions(+), 3 deletions(-)
commit 7e817628550ab4932baf6059b06049944893af7e
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Oct 31 23:38:41 2006 -0500
Fake the presence of a ChangeLog to work around automake
autogen.sh | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit 26b40c39ef74eec4f0e9cc7834cfd033a4decbb3
Author: William Jon McCann <mccann@jhu.edu>
Date: Tue Oct 31 22:40:34 2006 -0500
Add a script to test FUS related functionality.
Fix a problem where error was reported twice.
src/ck-seat.c | 5 +++-
src/test-fus | 63
++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/test-session | 13 +++-------
3 files changed, 71 insertions(+), 10 deletions(-)
commit 1d77428175b9684acf582717e7b12b3775ec7e4e
Author: William Jon McCann <mccann@jhu.edu>
Date: Fri Oct 27 10:20:57 2006 -0400
Add .gitignore files and rename tool.
.gitignore | 45 ++++++
data/.gitignore | 3 +
src/.gitignore | 13 ++
tools/.gitignore | 8 +
tools/Makefile.am | 8 +-
tools/list-consoles.c | 362
-------------------------------------------------
tools/list-sessions.c | 362
+++++++++++++++++++++++++++++++++++++++++++++++++
7 files changed, 435 insertions(+), 366 deletions(-)
commit 6b71d5dcaf9178645d83b4cbfc8febbb43ebe9c2
Author: William Jon McCann <mccann@jhu.edu>
Date: Fri Oct 27 09:54:59 2006 -0400
Actually remove files and remember to use commit -a.
INSTALL | 236 -
Makefile.am | 3 -
Makefile.in | 723 --
acinclude.m4 | 88 +
aclocal.m4 | 8166 -----------------
compile | 142 -
config.guess | 1463 ---
config.h.in | 97 -
config.sub | 1579 ----
configure |24456
-------------------------------------------------
configure.ac | 2 +-
data/Makefile.am | 4 +
data/Makefile.in | 443 -
depcomp | 530 --
install-sh | 323 -
intltool-extract.in | 853 --
intltool-merge.in | 1403 ---
intltool-update.in | 1089 ---
ltmain.sh | 6863 --------------
missing | 360 -
mkinstalldirs | 158 -
po/Makefile.in.in | 221 -
src/Makefile.in | 724 --
src/ck-manager-glue.h | 223 -
src/ck-marshal.c | 126 -
src/ck-marshal.h | 28 -
src/ck-seat-glue.h | 167 -
src/ck-session-glue.h | 135 -
tools/Makefile.in | 632 --
29 files changed, 93 insertions(+), 51144 deletions(-)
commit 0c2eba4ba67bcc52e9ce88e49a0dd74ce5ebdea6
Author: William Jon McCann <mccann@jhu.edu>
Date: Thu Oct 26 21:58:54 2006 -0400
Remove all the generated cruft from the tarball import.
autogen.sh | 445
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 445 insertions(+), 0 deletions(-)
commit d8d6b694e11d9433495833dfe09dcb3cf6830c1d
Author: William Jon McCann <mccann@jhu.edu>
Date: Wed Oct 25 16:30:23 2006 -0400
Bump version for git.
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit a08530e838218b3c5859550058e78b8f1abee434
Author: William Jon McCann <mccannwj@acsnb12.pha.jhu.edu>
Date: Wed Oct 25 14:38:19 2006 -0400
Initial import
AUTHORS | 1 +
COPYING | 340 +
INSTALL | 236 +
Makefile.am | 51 +
Makefile.in | 723 ++
acinclude.m4 | 43 +
aclocal.m4 | 8166 +++++++++++++++++
compile | 142 +
config.guess | 1463 +++
config.h.in | 97 +
config.sub | 1579 ++++
configure |24456
+++++++++++++++++++++++++++++++++++++++++++++++++
configure.ac | 236 +
data/ConsoleKit.in | 70 +
data/Makefile.am | 14 +
data/Makefile.in | 443 +
data/console-kit.conf | 49 +
depcomp | 530 ++
install-sh | 323 +
intltool-extract.in | 853 ++
intltool-merge.in | 1403 +++
intltool-update.in | 1089 +++
ltmain.sh | 6863 ++++++++++++++
missing | 360 +
mkinstalldirs | 158 +
po/Makefile.in.in | 221 +
po/POTFILES.in | 3 +
src/Makefile.am | 90 +
src/Makefile.in | 724 ++
src/ck-debug.c | 153 +
src/ck-debug.h | 72 +
src/ck-manager-glue.h | 223 +
src/ck-manager.c | 1017 ++
src/ck-manager.h | 97 +
src/ck-manager.xml | 48 +
src/ck-marshal.c | 126 +
src/ck-marshal.h | 28 +
src/ck-marshal.list | 2 +
src/ck-seat-glue.h | 167 +
src/ck-seat.c | 724 ++
src/ck-seat.h | 111 +
src/ck-seat.xml | 27 +
src/ck-session-glue.h | 135 +
src/ck-session.c | 744 ++
src/ck-session.h | 156 +
src/ck-session.xml | 49 +
src/ck-vt-monitor.c | 360 +
src/ck-vt-monitor.h | 71 +
src/getfd.c | 52 +
src/main.c | 141 +
src/proc-linux.c | 473 +
src/proc.h | 41 +
src/test-session | 51 +
src/valgrind.sh | 12 +
tools/Makefile.am | 42 +
tools/Makefile.in | 632 ++
tools/list-consoles.c | 362 +
57 files changed, 56842 insertions(+), 0 deletions(-)
|