summaryrefslogtreecommitdiffstats
path: root/usr.sbin/hotplugd (follow)
Commit message (Collapse)AuthorAgeFilesLines
* socppc makes an extended visit to the bigbucket.deraadt2019-05-111-2/+2
| | | | ok kettenis
* Restrict filesystem access with unveil(2):mestre2019-04-301-4/+10
| | | | | | | | 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@
* Build gpioctl(8) and hotplugd(8) on arm64.jsg2017-01-231-6/+6
| | | | ok patrick@
* Retire zaurus, as it hasn't made the EABI jump and will be permanently brokenguenther2016-09-031-2/+2
| | | | shortly when we use the hardware thread register in userland
* armish handled some early-gen arm machines, which required tons ofderaadt2016-08-101-3/+2
| | | | | workarounds. Some of them will soon stand in the way of armv7. Off to the attic you go.
* Close /dev/hotplug on exec(). Otherwise a restart of the daemon maynatano2016-07-311-2/+2
| | | | | | | fail, because the device is occupied by a child process. from Alexey Vatchenko ok jca
* remove hppa64 port, which we never got going beyond broken single users.deraadt2016-05-111-2/+2
| | | | | | 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
* pledge "stdio rpath proc exec" for entire lifetime. rpath must remainderaadt2015-11-191-1/+4
| | | | even late, because of access() before doing wasteful fork+execs.
* use file system path (.Pa) semantic markup macros where appropriate.sobrado2015-07-271-6/+6
| | | | ok jmc@
* obvious .Pa fixes; found with mandocdb(8)schwarze2014-01-211-3/+3
|
* Beagle has been replaced by armv7.patrick2013-09-041-2/+2
|
* use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@schwarze2013-07-161-3/+3
|
* This might be useful on beagle, too.florian2013-05-301-5/+5
| | | | OK patrick@, jasper@, bmercer@
* the unused palm code goes away.deraadt2013-03-251-2/+2
|
* do not use gcc -W options which you do not understandderaadt2010-07-201-2/+2
|
* Build on loongson, and sort platform list.miod2010-01-301-6/+7
|
* Make hotplugd to not complain if any of attach or detach scriptgrange2010-01-101-3/+4
| | | | | | doesn't exist. ok stsp@ deraadt@
* Palm: Integration into the treemarex2009-09-091-2/+2
| | | | OK deraadt@
* If two or more children exit before hotplugd is scheduled only one SIGCHLDkurt2009-06-261-5/+10
| | | | | will be delivered, so deal with this case in the SIGCHLD handler. Also retry if waitpid() fails with EINTR. looks good deraadt@ millert@
* Ignore ECHILD returns from waitpid() in the signal handler; it appears weguenther2009-06-101-2/+3
| | | | | | | | 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@
* hotplugd is on so many, give up on MANSUBDIRderaadt2009-06-041-2/+1
|
* - enable on sgijasper2009-06-031-4/+5
| | | | ok miod@
* - grammar tweakjasper2009-03-201-3/+3
| | | | ok jcm@
* Change example to run /etc/netstart always (secure by default).ian2008-12-071-8/+4
| | | | Cluestick courtesy of deraadt@, discussed with todd@, mbalmer@, ok ray@.
* use spacing consistently to make example shorter and more readable;sobrado2008-11-061-6/+2
| | | | improve indentation.
* More complete example, for e.g., usb devices that need wep/wpa keys.ian2008-11-061-4/+8
| | | | OK (with typo corrected) sthen@
* - chat to syslog if the script file can't be read or executed.jasper2008-05-251-3/+4
| | | | ok otto@
* Build on socppc too.miod2008-05-131-5/+5
|
* Error out with usage line if additional arguments are given after thepyr2008-05-121-1/+6
| | | | | | option parsing. Found out the hard way by jdixon on ifstated. ok sobrado@, jdixon@, millert@
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* landisk will need this tooderaadt2006-10-141-3/+4
|
* amazing how far a typo of mine (CFLAGS vs CLFAGS) from early 2004 spreadhenning2006-07-251-2/+2
| | | | | (and how long it went unnoticed) From: Alexey Dobriyan <adobriyan@gmail.com>
* System build pieces for armish arch.drahn2006-06-061-5/+5
|
* simplify example, ok grange, jmcmarkus2006-06-011-2/+2
|
* more tweaks; ok grangejmc2006-05-311-7/+12
|
* tweak the sample attach script; ok grangejmc2006-05-311-3/+3
|
* Device id was removed from hotplug events so cope with this.mk2006-05-281-12/+10
|
* Include device id in hotplug event logging. id is passed as newmk2006-05-281-10/+12
| | | | | | | script parameter so only scripts that are picky about arg count needs updating. ok henning.
* Reap childs asynchronously in the signal handler.grange2006-04-051-12/+37
| | | | Diff from Alexey Vatchenko <avv@mail.zp.ua>.
* ARGSUSED for signal handler to please lint.grange2006-04-051-1/+2
|
* hotplug(4) and hotplugd(8) heremartin2006-01-111-4/+5
|
* Build hotplug on zaurus, link manpage in zaurus dir.drahn2005-01-181-3/+3
|
* More secure exampleian2004-12-251-2/+2
|
* Better error message.grange2004-05-301-2/+2
|
* Missing waitpid, noticed by Gregory Steuck <greg@y2004.nest.cx>.grange2004-05-301-1/+15
|
* Can only exist on alpha, amd64, i386, macppc and sparc64.grange2004-05-301-2/+14
|
* hotplugd -- devices hot plugging monitor daemon.grange2004-05-303-0/+301
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.