summaryrefslogtreecommitdiff
path: root/udev/test-udev.c
AgeCommit message (Collapse)Author
2009-12-25remove UDEV_RUN environment variableKay Sievers
It handles only RUN but not IMPORT and PROGRAM. There is no sane way to suppress program execution. Most important programs run with IMPORT these days. Also events can no longer suppressed with the libudev netlink messages, so UDEV_RUN does nothing useful and is just inconsistent.
2009-11-16test-udev: remove "ignore_device" codeKay Sievers
2009-10-31unblock signals we might want to handleKay Sievers
On Thu, Oct 29, 2009 at 19:15, Christian P. Schmidt <schmidt@digadd.de> wrote: > After the getty replaces itself with login the pam module pam_mount > calls mount. This in turn determines that the partition to be mounted is > LUKS encrypted, and calls cryptsetup. Cryptsetup receives the password, > unlocks the partition, and calls udevadm settle in order to avoid some > problems in interaction with LVM. > > udevadm settle never returns. > > The problem here is that SIGUSR1 and SIGALRM are both blocked in oldmask > already, and never reach udevadm. No care is ever taken to ensure those > signals are not blocked.
2009-09-07util_run_program: restore signal mask before executing event RUN commandsJeremy Kerr
External programs triggered by events (via RUN=) will inherit udev's signal mask, which is set to block all but SIGALRM. For most utilities, this is OK, but if we start daemons from RUN=, we run into trouble (especially as SIGCHLD is blocked). This change saves the original sigmask when udev starts, and restores it just before we exec() the external command. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
2009-05-20use more efficient string copyingKay Sievers
2009-05-05remove asmlinkageKay Sievers
2008-10-24cache uid/gid during rule parsingKay Sievers
This cuts down the number of parsing /etc/group from ~700 to 11, with some large rule files installed.
2008-10-18selinux_init(udev) -> udev_selinux_init(udev)Kay Sievers
2008-10-18udev_rules_run() -> udev_event_execute_run();Kay Sievers
2008-10-18udev_event_run() -> udev_event_execute_rules()Kay Sievers
2008-10-18make struct udev_rules opaqueKay Sievers
2008-10-18merge udev-rules.c and udev-rules-parse.cKay Sievers
2008-10-16rename udev source filesKay Sievers
2008-10-16udevd: use libudevKay Sievers
2008-10-02libudev: get rid of selinuxKay Sievers
"Hello world!" linked against libselinux parses /proc/mounts and whatever else on startup, even when the lib is not needed at all. Not funny! Get rid of that thing where it's not absolutely needed.
2008-09-19always include config.h from MakefileKay Sievers
2008-09-10get rid of udev_sysdeps.cKay Sievers
2008-09-10update file headersKay Sievers
2008-09-10libudev: add selinuxKay Sievers
2008-09-09test-udev: remove unused varKay Sievers
2008-09-09test-udev: cleanup libudev context and overridden rules file stringKay Sievers
2008-09-06use libudev code, unify logging, pass udev context around everywhereKay Sievers
2008-09-02remove deprecated envp[] in main()Alan Jenkins
envp is not standardized, and may become invalid when environment variables are modified. Since udev never actually uses it, we can simply remove it. Should anyone miss it in future, they can use the standardized environ variable - like udev_rules.c does already.
2008-09-01udev_device_init() remove statically allocated device supportKay Sievers
2008-07-30use autotoolsKay Sievers
2008-07-30delete all Makefiles and move udev source to udev/Kay Sievers