Age | Commit message (Collapse) | Author |
|
anymore. Testing by jolan@, thanks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct ipc_perm instead of using sizeof to figure out the offset.
Might make a difference for architectures with strict alignment if
someone changes this from bcopy to memcpy and gcc inlines it.
|
|
the msgctl, semctl, and shmctl system calls. This moves the old
versions to COMPAT_35 and adds new ones.
WARNING: While this fixes things like shared memory in the X server
for old (pre-mode_t change) binaries, it will break binaries that
use shared memory built between the time of the mode_t change (Jul
13th) and now. If you rebuild X during that interval you will need
to do it again after updating the rest of userland.
|
|
|
|
OK miod@
|
|
use mode_t in syscalls.master and to use mode_t in more places in
the kernel. It also makes lint much more useful on kernel code.
I've also added a placeholder for st_birthtime to make a UFS2 import
easier at some future date.
Requested by and OK deraadt@
|
|
Idea from NetBSD, OK deraadt@
|
|
use compat-specific MAXNAMLEN values where appropriate
ok millert@, pedro@
|
|
things such that code that only need a second-resolution uptime or wall
time, and used to get that from time.tv_secs or mono_time.tv_secs now get
this from separate time_t globals time_second and time_uptime.
ok art@ niklas@ nordin@
|
|
|
|
Create new syscalls with the correct parameters and add compat versions
for the old ones under COMPAT_35.
|
|
reasons for this, quite a few of them technical, and not all of them
in response to Intel's broken ia32e crud. The gcc toolchain stays at
x86_64 for now.
|
|
hacked by art@ from netbsd sources and then later debugged
by me into the shape where it can host itself.
no bootloader yet as needs redoing from the
recent advanced i386 sources (anyone? ;)
|
|
argument. old cred only calls user suser_ucred. this will allow future
work to more flexibly implement the idea of a root process. looks like
something i saw in freebsd, but a little different.
use of suser_ucred vs suser in file system code should be looked at again,
for the moment semantics remain unchanged.
review and input from art@ testing and further review miod@
|
|
it based on the offset and reclen. with this, a emulated ls binary
(ie. linux) correctly list the files in such filesystems. also plug some
memory leak and remove a unneeded panic.
adapted from FreeBSD.
henning@ tedu@ ok. some other people ok'ed this in the past as well.
|
|
I've skipped the GNU stuff for now. From Patrick Latifi.
|
|
so that they look in /emul/a.out first. This allows a.out's ld.so to
find its own libraries without interfering with ELF at all.
Many comments from various people. okay deraadt@
|
|
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
|
|
has been introduced for this release.
ok deraadt@ weingart@
|
|
ok deraadt@
|
|
(but still implemented via setres[ug]id(2)). Basically this just
moves them from COMPAT_43 into kern_prot.c. Also fixes a typo in my
old implementation. The userland portion will follow in a few days.
deraadt@ OK
|
|
Instead of allocating a static amount of memory for the data
structures via valloc() in allocsys(), allocate things dynamically
using pool(9) when possible and malloc(9) when not. The various
members of struct seminfo and struct shminfo are in kern.seminfo
and kern.shminfo respectively (not all members of kern.seminfo are
changable).
The data structures used still leave something to be desired but
things are not made worse in that respect by this commit.
|
|
|
|
|
|
on the returned file, do the FREF inside getvnode so that people can't
get away with avoiding FREF and FRELE.
Eyeballed by various people.
|
|
an uvm aobj, copy out the signal trampoline into it and share that page
among all processes for the same emulation.
This also requires us to actually be able to tell signal code where the
trampoline is located, so introduce a new field in struct proc - p_sigcode
that is a pointer to sigcode. This allows us to remove all the ugly
calculations of the signal trampoline address done in every sendsig
function in the tree (that's why so many files are changed).
Tested by various people. ok deraadt@
|
|
|
|
they are and declarre 'em accordingly also removing private externies of those
|
|
|
|
|
|
functions in sys/compat are left.
|
|
|
|
|
|
|
|
|
|
Use where VTEXT was set in vnode flags before. Doesn't do anything else (yet).
|
|
(Look ma, I might have broken the tree)
|
|
any anyone. Every caller of falloc matures the fd when it's usable.
- Since every lookup in the fd table must now check this flag and all of
them do the same thing, move all the necessary checks into a function -
fd_getfile.
|
|
|
|
|
|
|
|
|
|
|