DELTA 256093 5092 65 SVN5./ฎ.SUBDIR= module call .include ENDREP DELTA 256093 5170 55 SVN+AB€AAPROG= call CFLAGS+= -I../module NO_MAN= .include ENDREP DELTA 256093 5238 485 SVNƒT…A‚v € Bg€g‚tstring.h> #include #include int main(int argc, char **argv) { int modid, syscall_num; struct module_stat stat; int whif (argc < 2) err(1, "argument required"); if (strcmp(argv[1], "add") == 0) what = ADD; else if (strcmp(argv[1], "delete") == 0) what = DELETE; else err(1, "add or delete"); return syscall(syscall_num, what, argv); } ENDREP DELTA 256093 5736 79 SVNB:;บ:KMOD= syscall SRCS= syscall.c .include ENDREP DELTA SVNœenum { ADD = 1, DELETE }; ENDREP DELTA 256093 5828 653 SVN‹$Žm!ƒu 'ƒ6"€ „U€‚Fƒ†&•{‰)ƒs#include d; switch (d) { case ADD: ent = malloc(sizeof(*ent), M_FOO, M_WAITOK); LIST_INSERT_HEAD(&foo_head, ent, foo_link); break; case DELETE: ent = LIST_FIRST(&foo_head); if (ent) { LIST_REMOVE(ent, foo_link); free(ent, M_FOO); } break; default: return (EINVAL); }; LIST_INIT(&foo_head);ENDREP id: b-256093.0-256598.r256598/1349 type: file pred: b-256093.0.r256093/7661 count: 1 text: 256598 0 58 46 b2fedbe02f8a4923503393ccae4da9cd 73e2db4c23b70401f1437e951b2f2c8d63c1389c 256597-5hzr/_6 props: 256093 7545 103 0 bb58aa814bbdf5f7c1ab04a05656f5a5 cpath: /user/glebius/course/04.synchronisation/code/Makefile copyroot: 256598 /user/glebius/course/04.synchronisation/code id: f-256093.1-256598.r256598/1726 type: file pred: f-256093.0.r256093/8075 count: 1 text: 256598 86 78 65 2eb571ed48b2f72ea40966246f8cee71 9864656fbff412a1da1e9b2ca25f8b101ee154f6 256597-5hzr/_8 props: 256093 7959 103 0 bb58aa814bbdf5f7c1ab04a05656f5a5 cpath: /user/glebius/course/04.synchronisation/code/call/Makefile copyroot: 256598 /user/glebius/course/04.synchronisation/code/call id: i-256093.1-256598.r256598/2114 type: file pred: i-256093.0.r256093/8501 count: 1 text: 256598 192 402 705 5ddcc51e21cee0137d9c83ee629e56c6 3b40b33f25baf736d52aece64fe40f19d25e56bf 256597-5hzr/_9 props: 256093 8385 103 0 bb58aa814bbdf5f7c1ab04a05656f5a5 cpath: /user/glebius/course/04.synchronisation/code/call/call.c copyroot: 256598 /user/glebius/course/04.synchronisation/code/call PLAIN K 8 Makefile V 35 file f-256093.1-256598.r256598/1726 K 6 call.c V 35 file i-256093.1-256598.r256598/2114 END ENDREP id: e-256093.1-256598.r256598/2626 type: dir pred: e-256093.0.r256093/8920 count: 1 text: 256598 2503 110 110 40f6894955308fcbaca4a368c5fe1025 cpath: /user/glebius/course/04.synchronisation/code/call copyfrom: 256591 /user/glebius/course/02.entering_kernel/syscall/application id: l-256093.0-256598.r256598/2904 type: file pred: l-256093.0.r256093/9222 count: 1 text: 256598 623 70 58 57f997e3cb52c02c3b49f1dcf8f6012c c76a7ae52325624dcbddeb3187090f4433a413ee 256597-5hzr/_b props: 256093 9106 103 0 bb58aa814bbdf5f7c1ab04a05656f5a5 cpath: /user/glebius/course/04.synchronisation/code/module/Makefile copyroot: 256598 /user/glebius/course/04.synchronisation/code PLAIN K 13 svn:eol-style V 6 native K 12 svn:keywords V 10 FreeBSD=%H K 13 svn:mime-type V 10 text/plain END ENDREP id: c-256598.0-256598.r256598/3406 type: file count: 0 text: 256598 721 40 28 9107f22f0cff401f8e39d917d14e5dec 53ee8634e49fe6401c0d1134e806a5ae1ed5b350 256597-5hzr/_d props: 256598 3290 103 0 bb58aa814bbdf5f7c1ab04a05656f5a5 cpath: /user/glebius/course/04.synchronisation/code/module/api.h copyroot: 256598 /user/glebius/course/04.synchronisation/code id: o-256093.2-256598.r256598/3759 type: file pred: o-256093.0.r256093/9643 count: 1 text: 256598 774 546 1901 a2c4655b49c94033daf228f2c910fdb4 27752faed7c50727578b3dc5a4e632f1d8fd836b 256597-5hzr/_e props: 256093 9527 103 0 bb58aa814bbdf5f7c1ab04a05656f5a5 cpath: /user/glebius/course/04.synchronisation/code/module/syscall.c copyfrom: 256591 /user/glebius/course/02.entering_kernel/syscall/module/foo_syscall.c PLAIN K 8 Makefile V 35 file l-256093.0-256598.r256598/2904 K 5 api.h V 35 file c-256598.0-256598.r256598/3406 K 9 syscall.c V 35 file o-256093.2-256598.r256598/3759 END ENDREP id: k-256093.0-256598.r256598/4350 type: dir pred: k-256093.0.r256093/10073 count: 1 text: 256598 4173 164 164 2823ff1859f32e08f878667645c38170 cpath: /user/glebius/course/04.synchronisation/code/module copyroot: 256598 /user/glebius/course/04.synchronisation/code PLAIN K 8 Makefile V 35 file b-256093.0-256598.r256598/1349 K 4 call V 34 dir e-256093.1-256598.r256598/2626 K 6 module V 34 dir k-256093.0-256598.r256598/4350 END ENDREP id: a-256093.0-256598.r256598/4787 type: dir pred: a-256093.0.r256093/10416 count: 1 text: 256598 4616 158 158 de0d864bf78a6077bd3141799520a78d cpath: /user/glebius/course/04.synchronisation/code copyfrom: 256591 /user/glebius/course/02.entering_kernel/syscall PLAIN K 8 Makefile V 28 file b-256433.0.r256433/5498 K 4 code V 34 dir a-256093.0-256598.r256598/4787 K 11 lection.tex V 28 file e-256433.0.r256566/8138 K 11 witness.png V 28 file 6-256566.0.r256566/8454 K 12 witness2.png V 28 file 8-256566.0.r256566/8800 END ENDREP id: a-256433.0.r256598/5316 type: dir pred: a-256433.0.r256566/9315 count: 3 text: 256598 5049 254 254 c9b71aeec976c8ccbfb62f1135003fa9 cpath: /user/glebius/course/04.synchronisation copyroot: 0 / PLAIN K 8 01.intro V 26 dir 4-256017.0.r256468/751 K 18 02.entering_kernel V 27 dir 3-256093.0.r256161/1651 K 20 03.processes&threads V 27 dir 3-256433.0.r256433/5212 K 18 04.synchronisation V 27 dir a-256433.0.r256598/5316 K 10 course.tex V 28 file q-256093.0.r256566/9513 END ENDREP id: 2-256017.0.r256598/5799 type: dir pred: 2-256017.0.r256566/10046 count: 7 text: 256598 5514 272 272 1ef97fbea36e8ba654ecb3dedadcebe3 cpath: /user/glebius/course copyroot: 0 / PLAIN K 6 course V 27 dir 2-256017.0.r256598/5799 END ENDREP id: 1-256016.0.r256598/6040 type: dir pred: 1-256016.0.r256566/10288 count: 8 text: 256598 5979 48 48 fad3aa8213f7dcc54165cb60840736f6 cpath: /user/glebius copyroot: 0 / PLAIN K 14 GUIDELINES.txt V 28 file 1-183719.0.r235275/4948 K 6 adrian V 30 dir 1-185062.0.r252433/2238294 K 2 ae V 27 dir 1-208944.0.r256597/8987 K 3 alc V 26 dir 1-187698.0.r256064/529 K 6 alfred V 29 dir 1-242436.0.r248541/976809 K 5 andre V 28 dir 1-232338.0.r256432/34129 K 7 attilio V 27 dir 1-225231.0.r254193/8567 K 3 avg V 28 dir 1-221670.0.r222061/16659 K 6 brooks V 30 dir 1-221798.0.r238996/6792285 K 6 bryanv V 30 dir 1-247244.0.r254233/2251137 K 10 bugmeister V 28 dir 1-246956.0.r246977/11135 K 8 cperciva V 27 dir 1-247750.0.r255458/1541 K 5 crees V 27 dir 1-241560.0.r250194/1117 K 7 davidxu V 28 dir 1-214656.0.r233443/10269 K 7 dchagin V 27 dir 1-247158.0.r256376/7598 K 7 delphij V 28 dir 1-204897.0.r250122/21847 K 3 des V 27 dir 1-194080.0.r256311/2560 K 3 dfr V 28 dir 1-184622.0.r190546/15651 K 5 dougb V 27 dir 1-198220.0.r241090/1341 K 2 ed V 28 dir 1-193319.0.r256538/24788 K 5 edwin V 27 dir 1-183766.0.r211835/4779 K 3 eri V 30 dir 1-197864.0.r204245/1236407 K 7 fabient V 28 dir 1-197268.0.r197319/29080 K 5 gabor V 28 dir 1-221404.0.r241808/15845 K 3 gad V 26 dir 1-192136.0.r193132/800 K 5 gavin V 24 dir 1-241771.0.r241771/0 K 7 glebius V 27 dir 1-256016.0.r256598/6040 K 3 gnn V 26 dir 1-194403.0.r241557/380 K 3 hrs V 28 dir 1-204715.0.r251578/16705 K 3 imp V 28 dir 1-184493.0.r234548/74775 K 5 jceel V 27 dir 1-235295.0.r239461/9102 K 8 jchandra V 28 dir 1-215108.0.r233508/11016 K 3 jgh V 25 dir 1-233591.0.r233616/17 K 9 jimharris V 28 dir 1-228374.0.r244229/59073 K 8 jmallett V 25 dir 1-204380.0.r232796/17 K 8 keramida V 28 dir 1-185204.0.r185209/12418 K 3 kib V 27 dir 1-204124.0.r207315/7991 K 5 kmacy V 28 dir 1-183756.0.r208125/15101 K 8 lstewart V 26 dir 1-184064.0.r207267/223 K 5 luigi V 28 dir 1-186852.0.r230582/16513 K 4 lulf V 24 dir 1-184032.0.r184032/0 K 6 marcel V 26 dir 1-234079.0.r254156/896 K 6 mjacob V 30 dir 1-227632.0.r247552/1024351 K 6 mlaier V 29 dir 1-185890.0.r186173/497434 K 2 mr V 29 dir 1-218553.0.r219466/277889 K 8 netchild V 27 dir 1-183913.0.r234301/7730 K 2 np V 28 dir 1-234243.0.r254736/18985 K 10 nwhitehorn V 27 dir 1-209626.0.r253686/1532 K 4 nyan V 25 dir 1-183793.0.r221739/17 K 6 obrien V 26 dir 1-223658.0.r255482/394 K 5 peter V 26 dir 1-180165.0.r194308/499 K 6 peterj V 27 dir 1-251835.0.r251836/3841 K 9 pgollucci V 25 dir 1-210277.0.r212598/17 K 3 pho V 28 dir 1-237221.0.r256263/18950 K 4 piso V 28 dir 1-190859.0.r191123/13329 K 6 qingli V 25 dir 1-185818.0.r185926/17 K 5 rafan V 29 dir 1-184791.0.r184800/106660 K 6 rpaulo V 27 dir 1-183745.0.r249165/1522 K 3 sam V 27 dir 1-186655.0.r188169/9175 K 6 sbruno V 27 dir 1-227643.0.r255674/1950 K 5 simon V 26 dir 1-220972.0.r220973/470 K 4 syuu V 28 dir 1-250977.0.r255200/11351 K 7 thompsa V 25 dir 1-185730.0.r208057/17 K 3 uqs V 27 dir 1-241674.0.r255875/1432 K 7 weongyo V 28 dir 1-212249.0.r215346/18411 END ENDREP id: a-1.0.r256598/9074 type: dir pred: a-1.0.r256597/12033 count: 6345 text: 256598 6211 2850 2850 69d63e0a177c690f792a4b367f464d7a cpath: /user copyroot: 0 / minfo-cnt: 10486 PLAIN K 11 ROADMAP.txt V 27 file 0-179453.0.r221478/293 K 7 cvs2svn V 23 dir 0-1.0.r177821/70859 K 4 head V 23 dir 5-1.0.r256594/12220 K 8 projects V 23 dir 6-1.0.r256588/12865 K 7 release V 22 dir 7-1.0.r255898/2886 K 6 releng V 23 dir 8-1.0.r255896/11765 K 6 stable V 23 dir 9-1.0.r256591/44313 K 8 svnadmin V 27 dir 0-179447.0.r256558/1319 K 4 user V 22 dir a-1.0.r256598/9074 K 6 vendor V 23 dir b-1.0.r255918/33452 K 13 vendor-crypto V 25 dir 0-1575.0.r255671/3224 K 10 vendor-sys V 27 dir 0-12116.0.r255260/28615 END ENDREP id: 0.0.r256598/9781 type: dir pred: 0.0.r256597/12742 count: 256598 text: 256598 9251 517 517 9b258844a2eaecb1fc423625d7f9b949 props: 254474 0 3820 0 5ba9c173df0952cf5e34e8d9b314fd8a cpath: / copyroot: 0 / minfo-cnt: 37758 a-256093._0.t256597-5hzr add-dir false false /user/glebius/course/04.synchronisation/code 256591 /user/glebius/course/02.entering_kernel/syscall b-256093._0.t256597-5hzr modify-file true false /user/glebius/course/04.synchronisation/code/Makefile e-256093.0.r256093/8920 delete-dir false false /user/glebius/course/04.synchronisation/code/application e-256093._1.t256597-5hzr add-dir false false /user/glebius/course/04.synchronisation/code/call 256591 /user/glebius/course/02.entering_kernel/syscall/application f-256093._1.t256597-5hzr modify-file true false /user/glebius/course/04.synchronisation/code/call/Makefile i-256093._1.t256597-5hzr modify-file true false /user/glebius/course/04.synchronisation/code/call/call.c l-256093._0.t256597-5hzr modify-file true false /user/glebius/course/04.synchronisation/code/module/Makefile _c._0.t256597-5hzr add-file true true /user/glebius/course/04.synchronisation/code/module/api.h o-256093.0.r256093/9643 delete-file false false /user/glebius/course/04.synchronisation/code/module/foo_syscall.c o-256093._2.t256597-5hzr add-file true false /user/glebius/course/04.synchronisation/code/module/syscall.c 256591 /user/glebius/course/02.entering_kernel/syscall/module/foo_syscall.c 9781 10006