| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
from Matthias Pitzl; OK deraadt@
|
|
|
|
| |
from sthen and others
|
|
|
|
| |
from Matthias Pitzl; OK deraadt@
|
| |
|
| |
|
|
|
|
|
| |
Also fail if the descriptor is actually a tty.
ok guenther
|
|
|
|
|
| |
"bpf", and "inet" can finally go away. Use a snapshot if you get into
trouble, most likely in pax..
|
|
|
|
|
|
| |
for upcoming IPv6 stateless address autoconfiguration daemon to see
if autoconfiguration and autoconfprivacy are enabled.
Input semarie@; OK deraadt@
|
| |
|
| |
|
| |
|
|
|
|
| |
upon "inet". Adjust the 4 programs that care about this.
|
| |
|
|
|
|
|
|
| |
struct proc to struct process.
ok deraadt@ kettenis@
|
|
|
|
| |
From patrick keshishian
|
|
|
|
|
|
| |
no need to wait until the first program using it breaks...
"could make sense" semarie@ (and thanks for the cluestick)
OK deraadt@
|
|
|
|
| |
ok deraadt@
|
|
|
|
|
|
|
|
|
|
| |
set variables that will be later used as the size argument to
free(NULL calls. This should be harmless as free returns early if the
address is NULL without checking the size. Initialise these variables
before the call to ensure they are never passed to another function
uninitialised.
ok tedu@ millert@ deraadt@
|
|
|
|
|
|
| |
Use a local variable struct process *pr to simplify expressions
ok deraadt@
|
|
|
|
| |
ok deraadt
|
|
|
|
| |
ok deraadt@
|
|
|
|
|
| |
used internally by low-level drivers from sys/audioio.h to
dev/audio_if.h instead of deleting them.
|
| |
|
| |
|
| |
|
|
|
|
| |
ok semarie
|
|
|
|
|
|
|
|
| |
affects only 32 bits platform (like i386).
problem spotted and diff from pelikan@
ok deraadt@ jca@
|
|
|
|
|
|
| |
can't (in the future) loop from ktrace writing hitting a pledge condition.
diff from Michal Mazurek (akfaew (at) jasminek.net)
|
|
|
|
|
|
|
|
|
|
|
|
| |
it splits PLEDGE_FATTR in two ("fattr" stills grant the 2 flags, so no functional changes):
- PLEDGE_CHOWN : to be able to call *chown(2) syscalls
- PLEDGE_FATTR : the rest
it introduces "chown" which grant:
- PLEDGE_CHOWN : be able to call *chown(2)
- PLEDGE_CHOWNUID : be able to modifying owner/group
ok deraadt@ tedu@
|
|
|
|
| |
ok deraadt@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By keeping both the new (sys_kill/sys_thrkill) and old (sys_o58_kill)
system calls for the OpenBSD 6.0 release, code that uses either of these
mechanisms will work on both of the supported OpenBSD releases. This
provides a clean transition for runtimes that make direct system calls
(namely the Go programming language).
This requires a minimal amount of non-intrusive code and does not block
development progress within OpenBSD.
ok deraadt@ guenther@
|
|
|
|
|
| |
Useful to implement GTSM support in daemons such as bgpd(8). Diff from
2013 revived by renato@. Input from bluhm@, ok bluhm@ deraadt@
|
|
|
|
| |
ok mglocker
|
|
|
|
| |
ok guenther sthen
|
|
|
|
|
| |
a flags argument
ok guenther sthen
|
|
|
|
|
| |
(the src path lookup is considered a rpath operation)
noticed by kristaps, discussed with semarie
|
|
|
|
|
|
| |
please note that chrooted process are still possible with pledge(2), but only
if the chroot(2) is done *before* calling pledge(2). Once pledged, no more
chroot(2) call are permitted.
|
|
|
|
|
|
|
|
|
|
|
| |
pledge_namei_wlpath(). Call the wlpath check only at the end of namei
after the namei lookup would otherwise succeed.
2) Add support to namei to keep the path that was looked up, without the
symlinks in it, and use that path for whitelist path lookups. This
means that paths in pledge whitelists will need to always be the
real path to an intended file to whitelist, without symlinks. Any
symlinks to the "real" file will then be allowed
ok deraadt@ semarie@
|
|
|
|
|
|
| |
reductions.
ok deraadt@
|
|
|
|
|
|
| |
bitflags)
ok deraadt@ jca@
|
|
|
|
|
|
| |
getlogin_r() API; keep existing syscall as getlogin59 for temporary compat.
ok kettenis@ deraadt@
|
|
|
|
|
|
|
| |
are passed uninitialized to free(9) only when pointers are NULL.
found by jsg@
ok deraadt@
|
|
|
|
|
| |
system call. discussed with semarie and everyone else during
the 5.9 lock.
|
|
|
|
|
|
| |
as osendsyslog for a while. The three argument variant is the only
one that will stay.
input kettenis@; OK deraadt@
|
|
|
|
|
|
| |
set and get parameters. This is much simpler.
ok semarie, armani, tweaks from jmc
|
|
|
|
| |
prepend chroot value *after* canonization and not before.
|
|
|
|
|
|
| |
order ("a += b > c" is the same as "a += (b > c)" which is wrong here)
ok jca@
|
|
|
|
|
|
| |
considered.
ok deraadt@
|
| |
|
| |
|