]> err.no Git - systemd/commit
avoid leaking netlink socket fd to external programs
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Mon, 6 Apr 2009 09:18:41 +0000 (10:18 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Mon, 6 Apr 2009 14:23:35 +0000 (07:23 -0700)
commit4b09a2fc4383f191d96a8d6134b95a4b84aef931
treed1e4d4d29a4e147b296de120aa3ec5ddccd59517
parent52761bb0a99cb80ccb19c9edf23963fdad67060d
avoid leaking netlink socket fd to external programs

The netlink socket is now used by udev event processes. We should take
care not to pass it to the programs they execute. This is the same way
the inotify fd was handled.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
udev/lib/libudev-monitor.c
udev/lib/libudev-private.h
udev/lib/libudev-util.c
udev/udev-watch.c