summaryrefslogtreecommitdiff
path: root/usr.sbin/hotplugd
AgeCommit message (Collapse)Author
2019-05-11socppc makes an extended visit to the bigbucket.Theo de Raadt
ok kettenis
2019-04-30Restrict filesystem access with unveil(2):Ricardo Mestre
First it needs to open(2) `device' with read permissions, /dev/hotplug by default but can be changed via arguments. Then it needs read/execute on both _PATH_ETC_HOTPLUG_{ATTACH,DETACH} to access(2) and execl(3) them. ok deraadt@
2017-01-23Build gpioctl(8) and hotplugd(8) on arm64.Jonathan Gray
ok patrick@
2016-09-03Retire zaurus, as it hasn't made the EABI jump and will be permanently brokenPhilip Guenther
shortly when we use the hardware thread register in userland
2016-08-10armish handled some early-gen arm machines, which required tons ofTheo de Raadt
workarounds. Some of them will soon stand in the way of armv7. Off to the attic you go.
2016-07-31Close /dev/hotplug on exec(). Otherwise a restart of the daemon mayMartin Natano
fail, because the device is occupied by a child process. from Alexey Vatchenko ok jca
2016-05-11remove hppa64 port, which we never got going beyond broken single users.Theo de Raadt
hppa reverse-stack gives us a valuable test case, but most developers don't have a 2nd one to proceed further with this. ok kettenis
2015-11-19pledge "stdio rpath proc exec" for entire lifetime. rpath must remainTheo de Raadt
even late, because of access() before doing wasteful fork+execs.
2015-07-27use file system path (.Pa) semantic markup macros where appropriate.Igor Sobrado
ok jmc@
2014-01-21obvious .Pa fixes; found with mandocdb(8)Ingo Schwarze
2013-09-04Beagle has been replaced by armv7.Patrick Wildt
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@Ingo Schwarze
2013-05-30This might be useful on beagle, too.Florian Obser
OK patrick@, jasper@, bmercer@
2013-03-25the unused palm code goes away.Theo de Raadt
2010-07-20do not use gcc -W options which you do not understandTheo de Raadt
2010-01-30Build on loongson, and sort platform list.Miod Vallat
2010-01-10Make hotplugd to not complain if any of attach or detach scriptAlexander Yurchenko
doesn't exist. ok stsp@ deraadt@
2009-09-09Palm: Integration into the treeMarek Vasut
OK deraadt@
2009-06-26If two or more children exit before hotplugd is scheduled only one SIGCHLDKurt Miller
will be delivered, so deal with this case in the SIGCHLD handler. Also retry if waitpid() fails with EINTR. looks good deraadt@ millert@
2009-06-10Ignore ECHILD returns from waitpid() in the signal handler; it appears wePhilip Guenthe
generate SIGCHLD spuriously in some cases. Also, hotplugd doesn't care if a child is stopped, so set SA_NOCLDSTOP to suppress SIGCHLDs from that. Problem reported by Thomas Pfaff. ok deraadt@
2009-06-04hotplugd is on so many, give up on MANSUBDIRTheo de Raadt
2009-06-03- enable on sgiJasper Lievisse Adriaanse
ok miod@
2009-03-20- grammar tweakJasper Lievisse Adriaanse
ok jcm@
2008-12-07Change example to run /etc/netstart always (secure by default).Ian Darwin
Cluestick courtesy of deraadt@, discussed with todd@, mbalmer@, ok ray@.
2008-11-06use spacing consistently to make example shorter and more readable;Igor Sobrado
improve indentation.
2008-11-06More complete example, for e.g., usb devices that need wep/wpa keys.Ian Darwin
OK (with typo corrected) sthen@
2008-05-25- chat to syslog if the script file can't be read or executed.Jasper Lievisse Adriaanse
ok otto@
2008-05-13Build on socppc too.Miod Vallat
2008-05-12Error out with usage line if additional arguments are given after thePierre-Yves Ritschard
option parsing. Found out the hard way by jdixon on ifstated. ok sobrado@, jdixon@, millert@
2007-05-31convert to new .Dd format;Jason McIntyre
2006-10-14landisk will need this tooTheo de Raadt
2006-07-25amazing how far a typo of mine (CFLAGS vs CLFAGS) from early 2004 spreadHenning Brauer
(and how long it went unnoticed) From: Alexey Dobriyan <adobriyan@gmail.com>
2006-06-06System build pieces for armish arch.Dale Rahn
2006-06-01simplify example, ok grange, jmcMarkus Friedl
2006-05-31more tweaks; ok grangeJason McIntyre
2006-05-31tweak the sample attach script; ok grangeJason McIntyre
2006-05-28Device id was removed from hotplug events so cope with this.Michael Knudsen
2006-05-28Include device id in hotplug event logging. id is passed as newMichael Knudsen
script parameter so only scripts that are picky about arg count needs updating. ok henning.
2006-04-05Reap childs asynchronously in the signal handler.Alexander Yurchenko
Diff from Alexey Vatchenko <avv@mail.zp.ua>.
2006-04-05ARGSUSED for signal handler to please lint.Alexander Yurchenko
2006-01-11hotplug(4) and hotplugd(8) hereMartin Reindl
2005-01-18Build hotplug on zaurus, link manpage in zaurus dir.Dale Rahn
2004-12-25More secure exampleIan Darwin
2004-05-30Better error message.Alexander Yurchenko
2004-05-30Missing waitpid, noticed by Gregory Steuck <greg@y2004.nest.cx>.Alexander Yurchenko
2004-05-30Can only exist on alpha, amd64, i386, macppc and sparc64.Alexander Yurchenko
2004-05-30hotplugd -- devices hot plugging monitor daemon.Alexander Yurchenko
The hotplugd daemon monitors the hotplug(4) pseudo-device, acting on signaled events by executing the scripts in the /etc/hotplug directory. Not linked to the build yet.