summaryrefslogtreecommitdiffstats
path: root/util/shmctl.c
Commit message (Collapse)AuthorAgeFilesLines
* chess listing sorted by rating(conditional) and player attitutekcwu2004-10-281-2/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2283 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add daemon mode for utmpfixin22004-10-251-27/+48
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2279 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* if some utmp records fails, utmpfix will clean the recordsin22004-10-201-7/+28
| | | | | | | and also kill them if their pids > 0. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2270 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix utmpfix that corrupt SHMkcwu2004-10-191-1/+8
| | | | | | | make utmpfix more sensitive on bad userid and friend number git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2266 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* shmctl should NOT fail in utmpfix, but when something wrongin22004-10-191-4/+31
| | | | | | | | | in SHM, this would happen and utmp is still dirty. so now shmctl will fork(2) before real utmpfix, and if it fails, utmpfix will start again automatically. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2265 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* typoin22004-10-091-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2236 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* order by play count>0 firstkcwu2004-10-091-6/+22
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2231 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* correct revision 2210victor2004-09-231-0/+8
| | | | | | | add reloadfcache to shmctl git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2209 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add reloadbcachein22004-05-241-1/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2016 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix compile error & warning freein22004-04-151-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1766 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* HOTBOARDCACHEin22004-03-101-3/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1584 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add some comments for ofo water mode.in22004-01-161-6/+6
| | | | | | | set nkwbd default to 5, 5 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1484 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dont remove a non-exist board when logoutvictor2004-01-031-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1455 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Remove altering wbtime in nkwbd, avoiding race.scw2004-01-031-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1454 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* same as revision 1452victor2004-01-031-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1453 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* set default to 20, 20,in22004-01-031-9/+6
| | | | | | | | | remove debug message, show sleeptime, timeout on proctitle. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1450 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Adding setproctitle for NoKillWaterBalld in shmctl.scw2004-01-021-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1444 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freein22004-01-011-58/+58
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1443 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* NOKILLWATERBALL done.in22004-01-011-0/+67
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1442 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix assess, it may be rewritenvictor2003-12-011-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1385 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* usermodein22003-10-231-0/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1261 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge hotboard into shmctlin22003-10-231-0/+64
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1260 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reduce sort times in utmpsortdin22003-09-261-27/+44
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1199 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* for vary OSvictor2003-08-201-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1111 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use NULL instead of (~ 0) in class linked-listin22003-08-121-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1092 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge from MergeCachein22003-07-201-9/+85
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1065 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add listbrdin22003-07-041-2/+30
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1014 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* typeoin22003-06-211-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@951 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* outta timer:pvictor2003-05-171-2/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@861 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* timedin22003-05-151-4/+20
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@846 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* OUTTA_TIMERbbs2003-05-071-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@823 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sleep interval in argv[1]in22003-04-111-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@787 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* when GV2.e.noonlineuser, do NOT search if the author is online in article listin22003-04-081-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@780 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dymaxactive, toomanyusersin22003-04-071-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@778 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* support GV2in22003-04-071-10/+26
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@777 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove cmsignalin22003-03-221-4/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@707 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove cmsignal()in22003-03-221-17/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@706 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* shmctl doesn't need resolve_boards() firstin22003-02-181-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@664 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* lazy sort utmpin22003-02-111-2/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@653 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* utmpsortdin22003-01-251-98/+139
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@647 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* critical memory cleanin22003-01-191-1/+20
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@633 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug of utmpfix fast modein22002-11-051-18/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@556 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* (utmpfix)timeout by idle timein22002-11-031-35/+57
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@554 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* (utmpfix)clean lowerboundin22002-11-031-4/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@553 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* listpidin22002-08-071-1/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@459 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix utmpfix bugin22002-07-231-9/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@434 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove mind fixin22002-07-051-6/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@413 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* avoid utmp->friendtotal errorin22002-07-011-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@397 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove fixbfriendin22002-06-261-22/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@354 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug (UTMPnumber)in22002-06-131-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@324 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugin22002-06-071-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@298 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* only one shared memoryin22002-06-071-81/+68
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@296 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* global variable move to var.cin22002-06-041-8/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@280 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fixbfriendin22002-06-021-8/+30
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@274 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* getopt()in22002-05-171-12/+28
| | | | | | | timeout git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@181 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* show timeout timein22002-05-161-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@177 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* idle timein22002-05-151-21/+30
| | | | | | | use searchuser to search if user exists git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@175 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* GLOBE supportin22002-04-151-1/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@104 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugin22002-04-101-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@96 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use logout_friend if timeoutin22002-04-101-2/+36
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@94 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove pickup_t:idle, clean of idle timeout to shmctlin22002-04-101-16/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@92 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugin22002-04-061-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@87 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* shmctl shouldn't create shared memory itselfin22002-04-061-0/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@86 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add utmpnum for snmpdin22002-04-051-2/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@80 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* :)in22002-03-301-2/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@73 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add utmpwatchin22002-03-261-0/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@67 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* shmctlin22002-03-251-5/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@62 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add utmpstate, utmpin22002-03-241-20/+46
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@61 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* utmpsortin22002-03-241-1/+88
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@60 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add shmctlin22002-03-231-0/+75
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@59 63ad8ddf-47c3-0310-b6dd-a9e9d9715204