summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-12-21Revert, rc.d scripts have been fixed.Antoine Jacoutot
2015-12-21Comment the wait for start until I fix the x11 managers rc.d script.Antoine Jacoutot
2015-12-21Detach the right session with -d.Nicholas Marriott
2015-12-21Add RET to dired-find-file. ok jasper@Mark Lumsden
(and jasper@ ok'd recent tutorial diff, forgot to mention)
2015-12-21Mention dired.Mark Lumsden
2015-12-21Replace an ugly bit of pointer arithmetic with a conditional expression.mmcc
"seems sound" deraadt@
2015-12-20need to include err.h for err().Sebastian Benoit
ok deraadt@
2015-12-20Remove unnecessary options:Robert Peichaer
- in fsck_msdos, '-f' option is a no-op - newfs_msdos does not need '-t msdos' OK krw@
2015-12-20size for free, sent and reminded by Mathieu. also delete null check.Ted Unangst
2015-12-20syncTheo de Raadt
2015-12-20syncTheo de Raadt
2015-12-20remove redundant logGilles Chehade
2015-12-20Advertise support for DRM version 1.4. We have support for all the necessaryMark Kettenis
features, and some code (such as the Xorg modesetting driver) actually checks the version. With this change the PCI-based probe method in that driver works. ok jsg@
2015-12-20In case of a bug in sndiod, an attacker (a local user) could runAlexandre Ratchov
arbitrary code as user _sndio, i.e. get a second uid. Mitigate the risk by implementing initial privilege separation as follows. Break sndiod in two processes: a chroot()ed "worker" process processing input, and a non-chroot()ed "helper" process opening devices and passing descriptors to the worker. With help from benno, claudio, semarie and gilles. ok benno, semarie and tb
2015-12-20Expose internal functions necessary to open audio devices and midiAlexandre Ratchov
ports using existing file descriptors.
2015-12-20Do not delay video(4) attachment if the device does not need to loadMartin Pieuchot
a firmware. Regression spotted by deraadt@
2015-12-20Simple free(9) sizes, from Matthieu <naabed AT poolp DOT org>.Martin Pieuchot
2015-12-20improve CTASSERT man pageStefan Fritsch
* add CTASSERT.9 link * add "void" to prototype
2015-12-20Clean up a condition. No functional change. ok tb@mmcc
2015-12-19No need for an extra log.hReyk Floeter
OK bcook@
2015-12-19Remove NULL-check before free().mmcc
2015-12-19Remove NULL-checks before free().mmcc
2015-12-19Remove NULL-check before free().mmcc
2015-12-19Replace 'arc4random() % x' by 'arc4random_uniform(x)'.tb
Diff by Matthew Martin, thanks! ok djm@, tedu@
2015-12-19Remove NULL-check before free().mmcc
2015-12-19Remove NULL-check before free().mmcc
2015-12-19Add pledge(2). It is not currently possible to pledge -u and -Utb
because of chown(2) and chmod(2). If -u and -U aren't specified, the basic pledge is "stdio rpath getpw". "getpw" is used to resolve uid and gid to names and vice versa. The -r flag makes use of rmdir(2) and unlink(2), so we need "cpath" The -t flag uses utimes(2), so we need "fattr" ok deraadt@
2015-12-19move to 5.9-betaTheo de Raadt
2015-12-19make things fit, by skipping pcn* for now -- randomly firing a driver.Theo de Raadt
2015-12-19syncTheo de Raadt
2015-12-19move to 5.9-betaTheo de Raadt
2015-12-19gethostbyname2() and gethostbyaddr() need <sys/socket.h>; discussed withTim van der Molen
millert@
2015-12-19Style cleanup and removal of needless casts. ok tb@mmcc
2015-12-19Remove NULL-checks before free(). ok tb@mmcc
2015-12-19Switch and sync to the log.c variant from httpd/relayd/iked/snmpd/vmd.Reyk Floeter
OK bcook@ jung@
2015-12-19Remove code that has been unused ever since we removed the agp ioctl interface.Mark Kettenis
ok mpi@
2015-12-19Move agp_generic_enable() prototype to agpvar.h to unbreak the build onMark Kettenis
macppc.
2015-12-19Don't exit if a route can't be added. Just log particulars andKenneth R Westerback
let someone else figure it out. ok mpi@
2015-12-19After starting, unconditionally wait up to $daemon_timeout seconds to check thatAntoine Jacoutot
the daemon is actually running (instead of only when using rc_bg). This *may* trigger the following side effect: if a daemon starts then stops right away (because of a config parsing issue for e.g.), then it will slow down the boot process because rc will wait a bit before considering the start action failed. But at least it will allow us to detect those daemons and fix them or their rc.d(8) script. At least as far as I can tell, all base daemons should cope with it just fine. ok sthen@ robert@ on an earlier diff
2015-12-19Move log_sockaddr() to from log.c to util.c as it is a local additionReyk Floeter
and actually not a "logging" function. No functional change.
2015-12-19Child will not return a config parsing error to the parent so rc.d will lie andAntoine Jacoutot
tell you that the daemon succesfully started; prevent this by running a config check first. Note that we only do this for those particular daemons, not all that support a config test mode. ok benno@ phessler@
2015-12-19Prevent GPU lockups with KMS & AGP-enable on Uninorth (G4) machines.Martin Pieuchot
Based on linux commit 5613beb46d54da6ef7f1c4589e9f2e60eeb10721 found by jsg@. KMS is now usable on Uninorth machines but X11 output is still corrupted. ok kettenis@
2015-12-19Enable agp(4), this makes X11 usable on my Dual G5 with radeondrm(4).Martin Pieuchot
ok kettenis@
2015-12-19Do not match Uninorth bridges until we have a working KMS with AGPMartin Pieuchot
support for G4 machines. This allows us to enable agp(4) again for G5 machines. ok kettenis@
2015-12-19Make carp_output() mpsafe.Martin Pieuchot
This is needed in order to fully unlock ARP processing with carp(4) interfaces as found the hardway by sthen@. ok sthen@, dlg@
2015-12-19Tidy up _rc_wait().Antoine Jacoutot
ok sthen@ robert@
2015-12-19UTF-8 support:Ingo Schwarze
Let -f recognize non-ASCII blank characters and let -s count characters rather than bytes. OK zhuk@ bentley@
2015-12-19Tweak pexp.Antoine Jacoutot
2015-12-19Add xs_setprop to set device propertiesMike Belopuhov
2015-12-19Fixup a few bugs in xen_intr_{establish,disestablish}Mike Belopuhov
xen_intr_establish was using a variable that hasn't got its value updated in the supplementary check for event channel port unmasking. xen_intr_disestablish didn't save and correctly check the return value of xen_lookup_intsrc call and was incorrectly indexing into the pending event channel port bitmap.