#
f3732fd1 |
| 17-Jun-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Second half of the dev_t cleanup.
The big lines are: NODEV -> NULL NOUDEV -> NODEV udev_t -> dev_t udev2dev() -> findcdev()
Various minor adjustments including handling of userland access to ke
Second half of the dev_t cleanup.
The big lines are: NODEV -> NULL NOUDEV -> NODEV udev_t -> dev_t udev2dev() -> findcdev()
Various minor adjustments including handling of userland access to kernel space struct cdev etc.
show more ...
|
Revision tags: release/4.10.0_cvs, release/4.10.0 |
|
#
c050455e |
| 24-Apr-2004 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Fix build for non-COMPAT_FREEBSD4 configurations. Make the FreeBSD 4 statfs functions conditional upon the option.
|
#
0c70bced |
| 15-Apr-2004 |
Peter Wemm <peter@FreeBSD.org> |
Catch up to the not-so-recent statfs(2) changes.
|
#
b7e23e82 |
| 17-Mar-2004 |
John Baldwin <jhb@FreeBSD.org> |
- Replace wait1() with a kern_wait() function that accepts the pid, options, status pointer and rusage pointer as arguments. It is up to the caller to copyout the status and rusage to userland i
- Replace wait1() with a kern_wait() function that accepts the pid, options, status pointer and rusage pointer as arguments. It is up to the caller to copyout the status and rusage to userland if needed. This lets us axe the 'compat' argument and hide all that functionality in owait(), by the way. This also cleans up some locking in kern_wait() since it no longer has to drop locks around copyout() since all the copyout()'s are deferred. - Convert owait(), wait4(), and the various ABI compat wait() syscalls to use kern_wait() rather than wait1() or wait4(). This removes a bit more stackgap usage.
Tested on: i386 Compiled on: i386, alpha, amd64
show more ...
|
Revision tags: release/5.2.1_cvs, release/5.2.1 |
|
#
996a568e |
| 29-Jan-2004 |
Peter Wemm <peter@FreeBSD.org> |
Regen
|
Revision tags: release/5.2.0_cvs, release/5.2.0 |
|
#
34eda634 |
| 23-Dec-2003 |
Peter Wemm <peter@FreeBSD.org> |
Rather than screw around with the (unsafe) stackgap, call vn_stat/fo_stat directly for stat/fstat/lstat syscall emulation. It turns out not only safer, but the code is smaller this way too.
|
#
5cb0e301 |
| 23-Dec-2003 |
Peter Wemm <peter@FreeBSD.org> |
Eliminate stackgap usage for the (woefully incomplete) path translations since it isn't needed here anymore. Use standard open(2)/access(2) and chflags(2) syscalls now.
|
#
4eeb271a |
| 11-Dec-2003 |
Peter Wemm <peter@FreeBSD.org> |
Just implementing a 32 bit version of gettimeofday() was smaller than the wrapper code. And it doesn't use the stackgap as a bonus.
|
#
71d60843 |
| 07-Nov-2003 |
Peter Wemm <peter@FreeBSD.org> |
Dont write to the stackgap directly in execve().
|
#
60a8c422 |
| 30-Oct-2003 |
Peter Wemm <peter@FreeBSD.org> |
Add CTASSERT()'s to check that the sizes of our replicas of the 32 bit structures come out the right size.
Fix the ones that broke. stat32 had some missing fields from the end and statfs32 was brok
Add CTASSERT()'s to check that the sizes of our replicas of the 32 bit structures come out the right size.
Fix the ones that broke. stat32 had some missing fields from the end and statfs32 was broken due to the strange definition of MNAMELEN (which is dependent on sizeof(long))
I'm not sure if this fixes any actual problems or not.
show more ...
|
Revision tags: release/4.9.0_cvs, release/4.9.0 |
|
#
46159d1f |
| 23-Aug-2003 |
Peter Wemm <peter@FreeBSD.org> |
Switch to using the emulator in the common compat area. Still work-in-progress.
|
#
1c7abef7 |
| 23-Aug-2003 |
Peter Wemm <peter@FreeBSD.org> |
Initial sweep to de-i386-ify this
|
#
56ae44c5 |
| 25-Jul-2003 |
David E. O'Brien <obrien@FreeBSD.org> |
Use __FBSDID().
Brought to you by: a boring talk at Ottawa Linux Symposium
|
Revision tags: release/5.1.0_cvs, release/5.1.0 |
|
#
d85631c4 |
| 14-May-2003 |
Peter Wemm <peter@FreeBSD.org> |
Add BASIC i386 binary support for the amd64 kernel. This is largely stolen from the ia64/ia32 code (indeed there was a repocopy), but I've redone the MD parts and added and fixed a few essential sys
Add BASIC i386 binary support for the amd64 kernel. This is largely stolen from the ia64/ia32 code (indeed there was a repocopy), but I've redone the MD parts and added and fixed a few essential syscalls. It is sufficient to run i386 binaries like /bin/ls, /usr/bin/id (dynamic) and p4. The ia64 code has not implemented signal delivery, so I had to do that.
Before you say it, yes, this does need to go in a common place. But we're in a freeze at the moment and I didn't want to risk breaking ia64. I will sort this out after the freeze so that the common code is in a common place.
On the AMD64 side, this required adding segment selector context switch support and some other support infrastructure. The %fs/%gs etc code is hairy because loading %gs will clobber the kernel's current MSR_GSBASE setting. The segment selectors are not used by the kernel, so they're only changed at context switch time or when changing modes. This still needs to be optimized.
Approved by: re (amd64/* blanket)
show more ...
|
#
fe8cdcae |
| 22-Apr-2003 |
John Baldwin <jhb@FreeBSD.org> |
- Replace inline implementations of sigprocmask() with calls to kern_sigprocmask() in the various binary compatibility emulators. - Replace calls to sigsuspend(), sigaltstack(), sigaction(), and
- Replace inline implementations of sigprocmask() with calls to kern_sigprocmask() in the various binary compatibility emulators. - Replace calls to sigsuspend(), sigaltstack(), sigaction(), and sigprocmask() that used the stackgap with calls to the corresponding kern_sig*() functions instead without using the stackgap.
show more ...
|
Revision tags: release/4.8.0_cvs, release/4.8.0 |
|
#
a163d034 |
| 19-Feb-2003 |
Warner Losh <imp@FreeBSD.org> |
Back out M_* changes, per decision of the TRB.
Approved by: trb
|
#
f341ca98 |
| 16-Feb-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Remove #include <sys/dkstat.h>
|
#
44956c98 |
| 21-Jan-2003 |
Alfred Perlstein <alfred@FreeBSD.org> |
Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
|
Revision tags: release/5.0.0_cvs, release/5.0.0 |
|
#
d1e405c5 |
| 14-Dec-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
SCARGS removal take II.
|
#
bc9e75d7 |
| 13-Dec-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Backout removal SCARGS, the code freeze is only "selectively" over.
|
#
0bbe7292 |
| 13-Dec-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Remove SCARGS.
Reviewed by: md5
|
#
459e3a7a |
| 10-Oct-2002 |
Peter Wemm <peter@FreeBSD.org> |
Try and deal with the #ifdef COMPAT_FREEBSD4 sendfile stuff. This would have been a lot easier if do_sendfile() was usable externally.
|
Revision tags: release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2 |
|
#
3ebc1248 |
| 20-Jul-2002 |
Peter Wemm <peter@FreeBSD.org> |
Infrastructure tweaks to allow having both an Elf32 and an Elf64 executable handler in the kernel at the same time. Also, allow for the exec_new_vmspace() code to build a different sized vmspace dep
Infrastructure tweaks to allow having both an Elf32 and an Elf64 executable handler in the kernel at the same time. Also, allow for the exec_new_vmspace() code to build a different sized vmspace depending on the executable environment. This is a big help for execing i386 binaries on ia64. The ELF exec code grows the ability to map partial pages when there is a page size difference, eg: emulating 4K pages on 8K or 16K hardware pages.
Flesh out the i386 emulation support for ia64. At this point, the only binary that I know of that fails is cvsup, because the cvsup runtime tries to execute code in pages not marked executable.
Obtained from: dfr (mostly, many tweaks from me).
show more ...
|