Age | Commit message (Collapse) | Author |
|
aliases by using a macro REDIRECT_SYSCALL() to map the symbols. Apply
that to getthrid(), sysctl(), and issetugid() as well.
ok mpi@ beck@
|
|
keep stdio from opening with O_CREAT which would require pledge cpath.
|
|
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@
|
|
driver.
ok mpi@
|
|
Feedback from and OK halex@
OK krw@
|
|
OK krw@
|
|
|
|
- merge upgrade.sh into install.sub as do_upgrade()
- delete install.sh and upgrade.sh
- make install.sub executable
- turn install and upgrade into symbolic links to install.sub
- add autoinstall symbolic link to install.sub
- change dot.profile to use these symlinks
- introduce a -m option to set MODE in install.sub
- alternativly set MODE and AUTO depending on PROGNAME
- execute the do_{install,upgrade) functions depending on $MODE
OK halex@, krw@
'go for it' deraadt@
|
|
- verify_modes should only verify modes
- put the whole checking code in one single routine in validate_meta, makes
the size checking code more obvious
- document what's going on
- prevent PkgCreate from creating impossible packages, only a few Ustar
objects are actually usable.
|
|
|
|
Static is a nop in _KERNEL, but is static in userland and therefore libpcap
|
|
other projects have already done this, and there's software (eg,
gopacket) which now expects it.
based on a discussion with jasper@ and canacar@
ok jasper@
|
|
the code was confusing around how it dealt with packets in mbufs
vs plain memory buffers with a lenght.
this renames bpf_filter to _bpf_filter, and changes it so the packet
memory is referred to by an opaque pointer, and callers have to
provide a set of operations to extra values from that opaque pointer.
bpf_filter is now provided as a wrapper around _bpf_filter. it
provides a set of operators that work on a straight buffer with a
lenght.
this also adds a bpf_mfilter function which takes an mbuf instead
of a buffer, and it provides explicit operations for extracting
values from mbufs.
if we want to use bpf filters against other data structures (usb
or scsi packets maybe?) we are able to provide functions for
extracting payloads from them and use _bpf_filter as is.
ok canacar@
|
|
Required for the keyboard and touchpad on the ideapad 100s.
ok kettenis@
|
|
pointer can be used with gpio and acpi intr_establish.
ok kettenis@
|
|
|
|
Otherwise proc.h & friends pick it up before we manage to perform
our MULTIPROCESSOR dance. This time I've made sure we get LOCK
prefixes with an objdump. Bug reported by Evgeniy Sudyr, thanks!
|
|
|
|
from ian@
|
|
prodded by matthieu@
ok millert@ jung@ sthen@
|
|
|
|
the kernel has had time_second since 2004.
|
|
eleven years, remove it.
Despite what the wildly outdated time(9) claims, there is no longer
globally visible "struct timeval mono_time" or "struct timeval time".
ok mpi@ sthen@ mikeb@
|
|
|
|
|
|
|
|
rev. 1.34 moved the call to daemon() before the chroot, thus hiding
errors if the target directory or _tftpd user don't exist. To go in the
background later we need to preopen /dev/null. The code is put in
a daemon(3) like function that could be used in other daemons.
Lack of error reporting spotted by ajacoutot@, initial diff from dlg@.
rdaemon() "concept" discussed with semarie@. ok ajacoutot@ dlg@
|
|
turned out to be too low for the upcoming work on cloning bpf. The new
limit is 1024 device clones. As part of the size increase, the bitmap
has been changed to be allocated separately to avoid bloating all device
nodes, as suggested by guenther, millert and deraadt.
ok millert mikeb
|
|
Bug reported by Christian Heckendorf <mbie at ulmus dot me>, patch by me.
OK jmc@ bentley@
|
|
Patch from Christian Heckendorf <mbie at ulmus dot me>.
OK jmc@ bentley@
|
|
attack against our hash function. In this case, switch to the
passive syn cache as soon as possible. It will start with a new
random seed for the hash.
input and OK mpi@
|
|
"Aruba Networks USB to UART Bridge Controller". It uses a Silabs
CP210x chip with a modified vendor Id that is supported by uslcom(4).
OK jsg@
|
|
(I forgot: previous change to usbdevs was OK jsg@)
|
|
Controller" that is found in HP Aruba 7xxx wireless controllers.
|
|
regressions with dhcpcd.
Ok sthen@
|
|
and fix log messages referring to primes file. Based on patch from
xnox at ubuntu.com via bz#2559. "kill it" deraadt@
|
|
|
|
are octeon and hppa64.
|
|
messages to GPT.
Unchecked strdup() result noted by mestre@. ok mestre@ tim@
|
|
This change adds new input-processing functions to wsmouse and
adapts the touchpad drivers.
ok mpi@, shadchin@
|
|
|
|
Allow a NULL format in message() and switch the two calls to
error() and message() with an empty format string to using NULL.
OK deraadt@
|
|
|
|
rdistd for directories that do not exist on the destination. Calling
mkstemp(3) twice with the same format (filled in by the first
mkstemp(3) call) is bogus so call chkparent() *before* mkstemp(3)
instead of only on error. This costs an extra lstat(2) in the case
where the directory already exists but simplifies the code and
doesn't rely on undefined behavior (namely, the state of the template
when mkstemp fails). OK tim@
|
|
From Miod Vallat
I trust miod deraadt@
|
|
From Miod Vallat
I trust miod deraadt@
|
|
|
|
|
|
of clients quickly.
|
|
broad search and in_pcbconnect() already uses in_pcbhashlookup().
ok bluhm@ mpi@ jca@
|