freebsd32_misc.c

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
|Remove bogus use of useracc() in (clock_)nanosleep. | |There's no point in pre-checking that we can access the user's rmtp |pointer before we do it in copyout(). | |While here, improve style(9) compliance.

Obtained from: FreeBSD

  1. … 1 more file in changeset.
When handling a 32-bit sendmsg(2) call, the compat32 subsystem copies the control message to be transmitted (if any) into kernel memory, and adjusts alignment of control message headers. The code which performs this work contained a time-of-check to time-of-use (TOCTOU) vulnerability which allows a malicious userspace program to modify control message headers after they were validated by the kernel.

When handling a 32-bit sendmsg(2) call, the compat32 subsystem copies the control message to be transmitted (if any) into kernel memory, and adjusts alignment of control message headers. The code which performs this work contained a time-of-check to time-of-use (TOCTOU) vulnerability which allows a malicious userspace program to modify control message headers after they were validated by the kernel.

sync compat code

  1. … 45 more files in changeset.
sync with freebsd 10

  1. … 24 more files in changeset.
Fix the wait6(2) on 32bit architectures and for the compat32, by using the right type for the argument in syscalls.master. Also fix the posix_fallocate(2) and posix_fadvise(2) compat32 syscalls on the architectures which require padding of the 64bit argument.

  1. … 1 more file in changeset.
add the kernel piece of wait6 system call

  1. … 24 more files in changeset.
sync with freebsd 9 stable.

  1. … 13 more files in changeset.
st_atimespec, st_mtimespec, st_birthtimespec etc have been renamed to follow POSIX 2008 specification.

  1. … 14 more files in changeset.
Remove ia64 crap

  1. … 32 more files in changeset.
Revert some of the recent changes with misc functions in freebsd compatibility. I have no idea what i was thinking before.

Regen syscall table so we don't try to use them.

  1. … 5 more files in changeset.
add missing compatibility functions.

disable nmount as we haven't ported the kernel nfs lock manager yet

Introduce CPU Affinity in MidnightBSD.

The ULE scheduler is now default on i386 and amd64 architectures.

cpuset(1) allows the user to limit a process to a group of CPU cores to run on using new system calls.

32bit versions of the system calls were also added to support 32bit binaries running on amd64 boxes. libc's

symbol map was modified to include the cpuset* system calls to expose them to userland.

This is based on work by Jeff Roberson from FreeBSD 7.1.

  1. … 37 more files in changeset.
$MidnightBSD$

  1. … 880 more files in changeset.
Sync with FreeBSD 7

  1. … 77 more files in changeset.
Sync with FreeBSD 6.1 Release.

  1. … 8 more files in changeset.
This commit was generated by cvs2svn to compensate for changes in r5, which included commits to RCS files with non-trunk default branches.

  1. … 6005 more files in changeset.