summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-30Fix interaction between inteldrm(4) and efifb(4). If we were booted by UEFIMark Kettenis
firmware and the efifb(4) framebuffer address matches one of the BARs associated with the inteldrm(4) device, make inteldrm(4) the console and prevent efifb(4) from attaching. Make sure that we do a full clear of the framebuffer when inteldrm(4) attaches to prevent the contents of the old framebuffer from showing up. Based on an earlier diff from yasuoka@ ok yasuoka@
2015-10-30Point out that daemon class, via login.conf, can be used to set more thanStuart Henderson
just the process limits - show that, in particular, environment variables and scheduling priority can be set in this way. Discussed with ajacoutot, robert, schwarze, I went with wording suggested by schwarze@ which was much better than mine.
2015-10-30Use double variables and sqrt(3) from libm to calculate statistics likeFlorian Obser
ping6 does. OK benno@
2015-10-30Add an example about using the Spanning Tree Protocol (STP) to preventReyk Floeter
potential loops between bridges and pairs. OK jmc@ sthen@
2015-10-30Missed to rename the upper case RTREQUEST1 in prevoius commit.Alexander Bluhm
2015-10-30Rename rtrequest1() to rtrequest().Alexander Bluhm
"make sure to update the manpage too" mpi@
2015-10-30Rename rtrequest1() to rtrequest().Alexander Bluhm
OK mpi@
2015-10-30Use NULL instead of 0 for pci_decompose_tag() pointer arguments.Miod Vallat
2015-10-30regress: pledgeSebastien Marie
- for calling ioctl(2), we need "stdio" now: change test_request_tty - for calling kill(2), we need "stdio" now: change test_kill
2015-10-30uvm_deallocate()'s return type is void, not int. This has apparentlymmcc
been out of sync for 13 years. ok daniel@, millert@
2015-10-30'fc -e -' is deprecated in favor of 'fc -s', so update the built-in aliasPhilip Guenther
ok millert@
2015-10-30For getgrent.3:Philip Guenther
- delete the commented out setgrfile bits, as well as the MLINK - rename getgr{nam,gid}_r()'s 'buffer' parameters to 'buf' to be consistent with getpwnam(3) and practically all other section 3 manpages - we have sysconf(_SC_GETGR_R_SIZE_MAX) now, so uncomment and revise the text For getpwnam.3: - rename buflen to bufsize for consistency - rewrite the description of the getpw{nam,uid}_r functions to match the better getgr{nam,gid}_r() description, adding sysconf() bits Add sysconf(3) to SEE ALSO for both encouraged by schwarze@ ok millert@
2015-10-30mark usage __deadTed Unangst
2015-10-29Also need exec to run the editor of course.Todd C. Miller
2015-10-29Remove duplicated prototype.Miod Vallat
2015-10-29crontab needs "proc" for fork(2)Todd C. Miller
2015-10-29Use stravis(3) instead of a homegrown vis-like function.Todd C. Miller
OK nicm@
2015-10-29remove unused variablesTodd C. Miller
2015-10-29Convert env_get() into env_find() similar to __findenv() in libc.Todd C. Miller
Use env_find() in both env_get() and env_set() to find a var in envp. Remove now-unused strcmp_until() function.
2015-10-29Remove useless FACILITY define and use LOG_CRON directly.Todd C. Miller
Remove unneeded limits.h include.
2015-10-29I assume KRANDOM was the previous name for FFRAND. KRANDOM is not inMark Lumsden
the mg source now.
2015-10-29Fix opening dired from the command line. Incorrect cursor placementMark Lumsden
and make the error more useful when there is a problem opening a directory. Reported by and ok jasper@
2015-10-29a few redundant tests can be deleted now that switch cases are only forTed Unangst
a single value
2015-10-29oops, one firebomb went off course. put back some code that's still used.Ted Unangst
2015-10-29RFC 2292 API support was removed 9 years ago, but left in a binary compatTed Unangst
ABI form for the sake of existing programs. no programs from that era have been able to run for quite some time. Kill it all. ok deraadt florian millert mpi (I believe this is my first IPv6 diff. Future, here I come!)
2015-10-29This sausage is made from unsound meat.Ted Unangst
2015-10-29Add some setsockopt hacks for libisc, aka John FrumTheo de Raadt
2015-10-29Kill a comment saying that rt_ifp may not be the same as ifp, that's noMartin Pieuchot
longer true.
2015-10-29Import Poly1305 Message Authentication CodeMike Belopuhov
Poly1305 is a one-time authenticator designed by Daniel J. Bernstein. This is a slightly adjusted public domain implementation by Andrew Moon found at https://github.com/floodyberry/poly1305-donna ok jsing, previous version ok djm, looked at by reyk@
2015-10-29put timeout nullification in correct spotTed Unangst
2015-10-29be a little more precise about checking filtersTed Unangst
2015-10-29refold a few linesTed Unangst
2015-10-29enable keyboard backlight led earlier to avoid raceJoerg Jung
2015-10-29In knote(), use SLIST_FOREACH_SAFE when walking the klist since a call toJoel Sing
an f_event() handler may remove an entry. Currently knote_processexit() calls knote() with NOTE_EXIT, knote() walks the list and calls f_event(), one of these happens to be filt_proc(), which happily SLIST_REMOVEs the NOTE_EXIT note from the same list that knote() is currently walking, then we get back to knote() and go boom... Flushed out by bluhm@'s invalidation change to sys/queue.h and found the hard way by naddy@. ok doug@ nicm@ tedu@
2015-10-29remove tests for LD_HINTS_VERSION_1; ok kettenisTheo de Raadt
2015-10-29Backout chacha.Florian Obser
It's getting in the way of the merge and it's not supposed to pull in a private header. Prodding deraadt@
2015-10-29collect some cool stats and print them out with SIGUSR1Ted Unangst
2015-10-29Reorder system call table into sequential blocks of alike-functionalityTheo de Raadt
and similar usage cases. Should provide abit more clarity for those who read the kernel code.
2015-10-29update text to be more like posix, in particular wrt length = 0Ted Unangst
2015-10-29Implement smtpctl discover <evpid|msgid>.Sunil Nimmagadda
discover subcommand schedules envelopes manually moved to the queue. It triggers a queue walk searching for envelopes with the given id, schedules them and informs the user number of envelopes scheduled. Admins no longer would need to restart the daemon to discover manually moved messages. Ok gilles@
2015-10-29regress pledge: rpath isn't needed anymore for mkdir()Sebastien Marie
make the cpath test more strict.
2015-10-29Break version check into a separate function, and limit version to 8 bits.Nicholas Marriott
2015-10-29regress test for "PubkeyAcceptedKeyTypes +..." inside a Match blockDamien Miller
2015-10-29Fix "PubkeyAcceptedKeyTypes +..." inside a Match block; ok dtucker@Damien Miller
2015-10-29Make inteldrm(4) attach to pci(4) instead of vga(4) just like radeondrm(4).Mark Kettenis
This is needed for machines where Intel graphics isn't the primary graphics device and on systems with UEFI firmware that put the device in non-VGA mode. ok jsg@
2015-10-29regenJonathan Gray
2015-10-29add some amd family 16h model 30h-3fh, mullins/bolton idsJonathan Gray
2015-10-29(struct timezone *)0 -> NULL, while I'm here.mmcc
2015-10-29fix newlines on an error messageJonathan Gray
2015-10-29rdate is a classic "run as root, talk to internet for a while doingTheo de Raadt
crazy packet parsing, then do something requiring privilege at the end" program. Simplistic pledge would be "stdio rpath wpath inet dns settime", which is not very useful. Imagine if it was exploited? It could still change your time backwards or write to your passwd file - game over. However the pledge "categorization" is educational, and quickly leads to a priv-sep solution of sorts. Create a pipe and fork. child pledges "stdio inet dns", and talks the time protocols, then writes error message + timeinfo to the pipe. parent pledges "stdio rpath wpath settime" and reads error message/timeinfo from pipe. If error message, spit it out. Otherwise handle the time, then pledge "stdio rpath", and finally report how the time was adjusted. A bit more complicated. Now observe that the pledges help test if it is right... (Now that privsep processing is in place, the child could be modified to chroot + change to a different uid... problem is: which uid..) ok millert