summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-11-25fix latest: don't set d->path as we just allocated itAlexandre Ratchov
2015-11-25Allocate device names in the heap, so they can be generated.Alexandre Ratchov
2015-11-25spacingAlexandre Ratchov
2015-11-25syncTheo de Raadt
2015-11-25-M option was removed, midi ports registered with -qAlexandre Ratchov
2015-11-25-A needs cflag too. Noted by sthen@ during install.Kenneth R Westerback
2015-11-25add uvm_uarea_{alloc,free} to NAME and MLINKS;Jason McIntyre
found by schwarze; ok schwarze guenther
2015-11-25Remove now unused gid_t variable.tb
From Ricardo Mestre. Thanks! go for it! deraadt@
2015-11-25The scorefile is hidden.tb
From Ricardo Mestre, thanks!
2015-11-25permit kern.maxpartitionsTheo de Raadt
2015-11-25Wrap <icdb.h> so that calls go direct and the symbols are all weakPhilip Guenther
ok tedu@
2015-11-25Simplify the setup of gather segments.Visa Hankala
2015-11-25rename internally to ntalkd, after the binary; this way bothJason McIntyre
"man talkd" and "man ntalkd" work; issue reported by sobrado; fix from schwarze
2015-11-25Network drivers should not include <net/route.h> or <net/netisr.h>Martin Pieuchot
2015-11-25Small fixes related to the IFF_OACTIVE removal.Martin Pieuchot
2015-11-25Put back 1.305 without breaking the hand rolled inet_net_pton(3) caseMartin Pieuchot
for IPv4. Tested by sebastia@ and krw@
2015-11-25Don't print error if none to print.Nicholas Marriott
2015-11-25Make using a deprecated function an error instead of just a warningPhilip Guenther
ok millert@ kettenis@
2015-11-25add size to freeTed Unangst
2015-11-25trim unused variableDavid Gwynne
2015-11-25replace IFF_OACTIVE manipulation with mpsafe operations.David Gwynne
there are two things shared between the network stack and drivers in the send path: the send queue and the IFF_OACTIVE flag. the send queue is now protected by a mutex. this diff makes the oactive functionality mpsafe too. IFF_OACTIVE is part of if_flags. there are two problems with that. firstly, if_flags is a short and we dont have any MI atomic operations to manipulate a short. secondly, while we could make the IFF_OACTIVE operates mpsafe, all changes to other flags would have to be made safe at the same time, otherwise a read-modify-write cycle on their updates could clobber the oactive change. instead, this moves the oactive mark into struct ifqueue and provides an API for changing it. there's ifq_set_oactive, ifq_clr_oactive, and ifq_is_oactive. these are modelled on ifsq_set_oactive, ifsq_clr_oactive, and ifsq_is_oactive in dragonflybsd. this diff includes changes to all the drivers manipulating IFF_OACTIVE to now use the ifsq_{set,clr_is}_oactive API too. ok kettenis@ mpi@ jmatthew@ deraadt@
2015-11-25syslog() here is pointless; ok millertTheo de Raadt
2015-11-25syncTheo de Raadt
2015-11-25Do not do the early pledge, because hotroot() is a lie. fsck_extfsTheo de Raadt
is not correct duid-aware by itself.
2015-11-25Rather than using syslog(3) (which pulls in snprintf), creating the reportTheo de Raadt
string using simpler strings functions and use sendsyslog2() directly. Also, use the LOG_CONS flag so that single-user reports are more clear. Use a buffer size of 1024 (from bluhm) discussed with guenther and matthew ok millert
2015-11-25Add a syscall stub for sendsyslog2(2), and use it in syslog_r(3), passingTheo de Raadt
LOG_CONS to the kernel. As a result, the /dev/console opening code can be removed. ok kettenis millert beck
2015-11-24Add sendsyslog2(), which accepts the syslog/openlog "logopt" flagTheo de Raadt
LOG_CONS. If syslogd is not accepting messages, direct them to the console. This allows us to remove the direct /dev/console opening code from the bowels of libc. Of course, that forgotten code was exposed by pledge. ok kettenis millert beck
2015-11-24syncTheo de Raadt
2015-11-24Add sendsyslog2... this has an additional flags variable to permitTheo de Raadt
passing LOG_CONS ok millert kettenis beck
2015-11-24Make environ_set va_args and use it to tidy up some calls. Also add aNicholas Marriott
missing word in manpage (from jmc).
2015-11-24Shell command from -c doesn't have to be global, pass it as an argument.Nicholas Marriott
2015-11-24Do lock failures slightly better, return a special value so we don'tNicholas Marriott
unlink the wrong thing.
2015-11-24Actually show something (even if it not that helpful) if the serverNicholas Marriott
fails to start (for example if it can't create the socket), rather than hanging or showing nothing.
2015-11-24Document socket_path format.Nicholas Marriott
2015-11-24Tidy the code that works out the socket path, and just use the full pathNicholas Marriott
in the global socket_path rather than copying it.
2015-11-24Remove malloc_options DEBUG bit.Nicholas Marriott
2015-11-24Switch a fprintf to a fatal, and wrap some long lines.Nicholas Marriott
2015-11-24Use reentrant versions of getpw{nam,uid} and getgr{nam,gid} withinTodd C. Miller
libc to avoid reusing the static buffers returned by the non-reentrant versions. Since this is inside libc we can use constants for the buffer sizes instead of having to call sysconf(). OK guenther@ deraadt@
2015-11-24Remove the -I part of show-messages which isn't really that useful; theNicholas Marriott
server start time can now be accessed with a new start_time format (use: tmux display -p '#{t:start_time}')
2015-11-24All kill-session -C to clear alerts in all windows, suggested by AaronNicholas Marriott
U'Ren.
2015-11-24hotroot is calculated late in fsck_ffs, so defer the pledge.Theo de Raadt
2015-11-24Log some system and libevent information at startup.Nicholas Marriott
2015-11-24regenMark Kettenis
2015-11-24Add a few missing devices found on recent Apple hardware.Mark Kettenis
From Bryan Vyhmeister.
2015-11-24Fix a link that got broken by a recent change that was made to the web pages.Stuart Henderson
Pointed out by Jan Stary, but I used the faq15 URL because the suggested one is linked a couple of lines below already.
2015-11-24Show libevent version in showmsgs -I.Nicholas Marriott
2015-11-24Make the log stuff a bit tidier with some helper functions.Nicholas Marriott
2015-11-24Revert previous tweak, pending a more complete rewording. Discussed withmmcc
halex@, sthen@, jmc@.
2015-11-24Fix usage of detach-client.Nicholas Marriott
2015-11-24update NAME; somehow missed this file when i did man9;Jason McIntyre
ok schwarze