Age | Commit message (Collapse) | Author |
|
ramdisk breakage found by jsg@
ok jsg@
|
|
ok stsp@ bluhm@
|
|
its now separate to getting the tunnel address.
ok mpi@
|
|
|
|
Diff from Yuuichi Someya.
ok reyk markus
|
|
is when sanitising standard fd's before calling daemon().
Use a tweaked version of the ssh(1) function in all three places
found using fcntl() this way.
ok jca@ beck@
|
|
Patch from Christian Heckendorf <mbie at ulmus dot me>.
OK jmc@ bentley@
|
|
are octeon and hppa64.
|
|
messages to GPT.
Unchecked strdup() result noted by mestre@. ok mestre@ tim@
|
|
correctly - logically complete that now by removing MLINKS from base;
authors need only to ensure there is an entry in NAME for any function/
util being added. MLINKS will still work, and remain for perl to ease
upgrades;
ok nicm (curses) bcook (ssl)
ok schwarze, who provided a lot of feedback and assistance
ok tb natano jung
|
|
leaking. Refactor logic a bit to avoid leak and make logic clearer.
Noticed by (and initial diff from) mestre@ and his friend clang.
|
|
OK krw@
|
|
Just NULL is not good practise as NULL is theoretically allowed to
be an integer rather than a pointer.
Use (char *)NULL consistently instead of scattering a few (char *)0
and (void *)NULL into the mix.
Prompted by and probably ok deraadt@ millert@ kettenis@
Definitely ok mestre@ ratchov@
|
|
|
|
|
|
Previously behaviors were all over the map. This changes them to
use COLUMNS first, and either terminal width or a hardcoded value
(typically 80) as appropriate.
ok deraadt@; man bits ok jmc@
|
|
Feedback millert@ kettenis@
|
|
ok millert
|
|
open the device only once with the correct flags, instead of twice (one
file handle for reading and one for writing). Committing this at once
because the changes are interrelated.
ok stefan
|
|
with the -F and -s flags.
ok stefan
|
|
Base on diff from Yuuichi Someya
ok markus reyk mikeb
|
|
lots of agreement.
|
|
dump on the attempt to get a disklabel from a regular file.
Regular files have not been acceptable as the 'disk' for some time,
and pledging changed the consequences from a somewhat obscure error
message to an abort().
Issue discovered by espie@.
ok natano@
|
|
ok deraadt
|
|
|
|
exemplified in the man page. Requested by deraadt@.
Joint work with natano@
input and ok espie@, deraadt@
|
|
this is no longer needed.
ok beck@, natano@
|
|
|
|
The wpath, cpath and fattr promises are not required for calling mknod(2),
dpath is enough.
ok semarie@
testing and ok tb@
|
|
|
|
|
|
"just clean it", deraadt@; ok sha256
|
|
Simplifies the logic in domakenodes() slightly. OK espie@
|
|
With this, none of the original code survives, so the Copyright notice
can be changed accordingly.
This does pledge upfront, because having fifos or devices with
setuid/gid/sticky makes no sense anyway.
The reorganization was done to allow a "create multiple devices" at once
mode, in order to speed up MAKEDEV (eventually) now that the ksh builtin
is gone. The code is picky and checks all parameters before doing anything.
Inputs from natano, deraadt, rpe, millert, tb, jmc...
okay tb@, deraadt@
|
|
issue reported by igor.kos
(temporary) fix entirely provided by sthen
|
|
ok deraadt@, jmc@
|
|
The only case where we don't want to pledge() is when a mode containing
the suid, sgid or sticky is is passed on the command line. mknod() in a
pledged binary would always strip those bits.
discussion and ok espie@
ok deraadt@ semarie@ tb@
|
|
preparation of a merge just use int64_t and be done with it.
OK deraadt
|
|
Remove machdep.userldt sysctl.
Remove i386_[gs]et_ldt syscall stub from libi386.
Remove i386_[gs]et_ldt regression test.
ok mlarkin@ millert@ guenther@
|
|
|
|
in the future this will subsume the individual vlandev, carpdev,
pppoedev, foodev options for things like vlan, carp, pppoe, etc.
inspired by vnetid
ok mpi@ jmatthew@
|
|
|
|
emulations left; ok millert@ deraadt@, jmc@ (man pages)
|
|
|
|
Discovered by rpe@. Tweaked by schwarze@.
ok rpe@ schwarze@ jmc@ deraadt@
|
|
of blocks to (long long) before multiplying by 512 and passing the
value to fmt_scaled().
Discovered and fix tested by rpe@.
ok rpe@ deraadt@
|
|
from rafael neves
|
|
Needed by some touchscreens.
no objection matthieu@
|
|
each *.c file.
Inspired by mention of header silliness by Edgar Pettijohn and mmcc@
on tech@.
|
|
|