plan9fox/sys
cinap_lenrek 7f0728b7f4 aux/listen: removing service script sholud kill listener (thanks mischief)
mischief spotted that the only way for listeners to go away was
truncating (but not removing) a service script. this is wrong and
not as described in the manpage.

this change makes removing (or truncating) a listen script stop
the listener.

scandir() first marks all current announces, then reads the service
directory adding announces which will clear the marks for the ones
already there or add a new unmarked one. finally, we shoot down and
remove all still marked announces.
2015-04-23 03:17:25 +02:00
..
doc /sys/doc: permissions for cleanps, mkdirlist, mkfilelist 2012-10-20 19:09:54 +02:00
games/lib fortunes: TED, day 1: I want to believe -- WIRED magazine 2015-03-26 20:43:41 -04:00
include libmach: use #pragma pack to force 4 byte alignment of bootexec.h structures for amd64 2015-03-18 19:31:51 +01:00
lib hg: install hgweb templates 2015-03-13 18:30:59 +01:00
man secstore(1): add DIAGNOSTICS section 2015-04-22 20:18:11 +02:00
src aux/listen: removing service script sholud kill listener (thanks mischief) 2015-04-23 03:17:25 +02:00