a1b5a8955e
Looking at our source code history, it seems the uname(), getdomainname() and setdomainname() system calls got deprecated somewhere after FreeBSD 1.1, but they have never been phased out properly. Because we don't have a COMPAT_FREEBSD1, just use COMPAT_FREEBSD4. Also fix the Linuxolator to build without the setdomainname() routine by just making it call userland_sysctl on kern.domainname. Also replace the setdomainname()'s implementation to use this approach, because we're duplicating code with sysctl_domainname(). I wasn't able to keep these three routines working in our COMPAT_FREEBSD32, because that would require yet another keyword for syscalls.master (COMPAT4+NOPROTO). Because this routine is probably unused already, this won't be a problem in practice. If it turns out to be a problem, we'll just restore this functionality. Reviewed by: rdivacky, kib
14 lines
427 B
Makefile
14 lines
427 B
Makefile
# $FreeBSD$
|
|
|
|
MDASM= Ovfork.S brk.S cerror.S exect.S \
|
|
fork.S pipe.S ptrace.S sbrk.S shmat.S syscall.S
|
|
|
|
# Don't generate default code for these syscalls:
|
|
NOASM= break.o exit.o ftruncate.o getlogin.o lseek.o mmap.o \
|
|
openbsd_poll.o pread.o pwrite.o sstk.o truncate.o vfork.o yield.o
|
|
|
|
PSEUDO= _exit.o _getlogin.o
|
|
.if !defined(WITHOUT_SYSCALL_COMPAT)
|
|
PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o
|
|
.endif
|