summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-26Document recent rc.subr/rc.d changes.Antoine Jacoutot
ok sthen@ robert@
2016-04-26Bump copyright.Antoine Jacoutot
2016-04-26Introduce rtable(4) support to rc.subr(8).Antoine Jacoutot
It works by adding daemon_rtable=$id in /etc/rc.conf.local. rcctl(8) support coming in a few and so are the man pages bits. If you want multiple instances of the same daemon running in different routing tables, just symlink the original rc.d script. e.g. # cd /etc/rc.d && ln -s dhcpd dhcpd42 Then enable your daemons as such in rc.conf.local: dhcpd_flags= dhcpd42_flags= dhcpd42_rtable=42 most work done by Jiri B <jirib@devio.us>; with a few tweaks and simplifications by yours truly ok robert@ ... should make henning happy ;-)
2016-04-26Extend _RC_RUNFILE (/var/run/rc.d/scriptname) content with:Antoine Jacoutot
daemon_class, daemon_flags, daemon_timeout, daemon_user, pexp Add "pexp" as a valid variable to _rc_parse_conf() and sort the list while here. Besides having an easy way to see how a daemon was started exactly, it opens the door to rdomain/rtable support in rc.d(8). We need to have as much information on a daemon as possible if we want to target a specific rtable (using -T) and it also makes it easier to start multiple instances of the same daemon with similar flags as a different user... Of course that only works with rc.d scripts *not* overwritting the default rc_* functions. Man page tweaks coming later. discussed with and ok robert@
2016-04-26some minor cleanup;Jason McIntyre
2016-04-26We use MODPY_COMMENT, not MODPY_PYCOMMENT.Giannis Tsaraias
OK jasper@ danj@
2016-04-26missed a block of code while merging the previous change.Mike Larkin
2016-04-26Add decode functions for some of the MSRs that are commonly used. OnlyMike Larkin
compiled when VMM_DEBUG is enabled, and only used during VM crash.
2016-04-26Show octeon in readelf -h output.Visa Hankala
2016-04-26Convert some magic numbers into #defines - this is needed for some MTRRMike Larkin
decoding code I'm working on for vmm(4) debugging. No functional change.
2016-04-26sync (a few comp tools move to base, to support library boot-randomization)Theo de Raadt
2016-04-26Re-link (only the newest) libc.so, placing the objects in a randomTheo de Raadt
order. with shell script assistance from rpe
2016-04-26Enable LIBREBUILD to construct libc.so.*.aTheo de Raadt
2016-04-26provide support for a library setting LIBREBUILD, in which case a ar(1)Theo de Raadt
file is created of all the subsidiary .so files
2016-04-26Display correct value in error message.Kenneth R Westerback
2016-04-26Do NOT attempt a rebuild using a hot spare with a sector sizeKenneth R Westerback
greater than the sector size of the softraid volume. i.e. 512-byte hot spares should work on 4096-byte volumes but 4096-byte hotspares will not work on 512-byte volumes. Pointed out, errors corrected and ok jsing@
2016-04-26Add pledge(2) promises independently on each user(8)'s functions as follows:Ricardo Mestre
useradd: stdio rpath wpath cpath fattr flock proc exec getpw id usermod: stdio rpath wpath cpath fattr flock proc exec getpw id userdel: stdio rpath wpath cpath fattr flock proc exec getpw id userinfo: stdio getpw groupadd: stdio rpath wpath cpath fattr flock getpw groupmod: stdio rpath wpath cpath fattr flock groupdel: stdio rpath wpath cpath fattr flock groupinfo: stdio getpw This was extensively tested by me and tim@ who found some issues on my first versions. deraadt@ prodded me to commit this now to check who uses it in order to report back any fallbacks with the diff, if you find any please inform us.
2016-04-26Restore intro comment to sr_hotspare_rebuild(), which was erroneouslyKenneth R Westerback
replaced by comment for first chunk of code. Pointed out by jsing@.
2016-04-26KNF / spacingMike Larkin
2016-04-26add stub for font.port.mkJasper Lievisse Adriaanse
2016-04-26sc_resume_ch is used nowhere.Visa Hankala
2016-04-26Tweak output a bit; to be improved probably (sthen@ and I can't think of aAntoine Jacoutot
better wording for now). Also be consistent in batch and interactive mode: make sure we can just re-run sysmerge if we leave a file for later; this prevents having to save the tmpdir to find which files needs to be handled (aka we are self-contained).
2016-04-26Drop an unused workaround which does not even compile.Visa Hankala
2016-04-26Remove last uses of array.h.Nicholas Marriott
2016-04-26fix off by one in vfs_vnode_print - found by miodBob Beck
ok deraadt@, krw@
2016-04-26corrects acpitz problem with active cooling and hysterisisSebastien Marie
"if the temperature is below the active cooling level for a tz, turn the fan off regardless of what state it is currently in" ok mlarkin@
2016-04-26add "dns" to openssl ocspSebastien Marie
problem reported by Alexandre (kAworu) ok beck@ deraadt@ sthen@
2016-04-26No good reason to retain comments about old DTYPE_CRYPTO or DTYPE_SYSTRACETheo de Raadt
values.
2016-04-26Add Octeon specific sync opcodes.Paul Irofti
This is needed for proper sili(4) functionality on Octeon II machines. OK jasper@, visa@
2016-04-26Log wcwidth() and mbtowc() failure to make it easier to debug a UnicodeNicholas Marriott
codepoint not appearing.
2016-04-26more systrace goes awayTheo de Raadt
2016-04-26syncTheo de Raadt
2016-04-26Match on RTS522A. Found in 2016 thinkpads.Jonathan Gray
Tested by Bryan Vyhmeister on x260.
2011-04-24Here comes the easter bunnytils 2.17 (the last version released against aMiod Vallat
licence mere mortals can understand the terms of); will be connected to the build on an arch-by-arch basis. Testsuites and generated files have been intentionnaly omitted from this import. Peer pressure and ok from at least drahn@ pirofti@ deraadt@
2016-04-25Allow setenv(3) and putenv(3) to operate on a NULL environ pointer.Todd C. Miller
The getenv(3) and unsetenv(3) functions already support this. This will make it easier to emulate the glibc clearenv() function in ports. Based on a diff from and OK jca@
2016-04-25no more systraceTed Unangst
2016-04-25rm systraceTed Unangst
2016-04-25regenTed Unangst
2016-04-25burn down the systraceTed Unangst
2016-04-25remove list item left in previous;Jason McIntyre
2016-04-25remove systrace remnantsTed Unangst
2016-04-25remove systraceTed Unangst
2016-04-25boom goes the dynamiteTed Unangst
2016-04-25when returning from vmd with an unknown exit reason, print the name of theMike Larkin
exit in addition to the exit code.
2016-04-25remove systraceTed Unangst
2016-04-25remove systraceTed Unangst
2016-04-25spacing / KNF error in earlier commitMike Larkin
2016-04-25remove systraceTed Unangst
2016-04-25remove systraceTed Unangst
2016-04-25remove systrace supportTed Unangst