History log of /freebsd-10-stable/sys/amd64/linux32/syscalls.master
Revision Date Author Comments
# 302962 17-Jul-2016 dchagin

MFC r302515:

Implement Linux personality() system call mainly due to READ_IMPLIES_EXEC flag.
In Linux if this flag is set, PROT_READ implies PROT_EXEC for mmap().
Linux/i386 set this flag automatically if the binary requires executable stack.

READ_IMPLIES_EXEC flag will be used in the next Linux mmap() commit.


# 301422 05-Jun-2016 dchagin

MFC r300359, r300360:

Correct an argument param of linux_sched_* system calls as a struct l_sched_param
does not defined due to it's nature.


# 297300 27-Mar-2016 dchagin

MFC r297061;

Implement fstatfs64 system call.

PR: 181012
Submitted by: John Wehle


# 294368 19-Jan-2016 jhb

MFC 289769,289822,290143,290144:
Rename remaining linux32 symbols from linux_* to linux32_*.

289769:
Rename remaining linux32 symbols such as linux_sysent[] and
linux_syscallnames[] from linux_* to linux32_* to avoid conflicts with
linux64.ko. While here, add support for linux64 binaries to systrace.
- Update NOPROTO entries in amd64/linux/syscalls.master to match the
main table to fix systrace build.
- Add a special case for union l_semun arguments to the systrace
generation.
- The systrace_linux32 module now only builds the systrace_linux32.ko.
module on amd64.
- Add a new systrace_linux module that builds on both i386 and amd64.
For i386 it builds the existing systrace_linux.ko. For amd64 it
builds a systrace_linux.ko for 64-bit binaries.

289822:
Fix build for the KTR-enabled kernels.

290143:
Fix build with DEBUG defined.

290144:
Update for LINUX32 rename. The assembler didn't complain about undefined
symbols but just used 0 after the rename.


# 293897 14-Jan-2016 glebius

o Fix SCTP ICMPv6 error message vulnerability. [SA-16:01.sctp]
o Fix Linux compatibility layer incorrect futex handling. [SA-16:03.linux]
o Fix Linux compatibility layer setgroups(2) system call. [SA-16:04.linux]
o Fix TCP MD5 signature denial of service. [SA-16:05.tcp]
o Fix insecure default bsnmpd.conf permissions. [SA-16:06.bsnmpd]

Security: FreeBSD-SA-16:01.sctp, CVE-2016-1879
Security: FreeBSD-SA-16:03.linux, CVE-2016-1880
Security: FreeBSD-SA-16:04.linux, CVE-2016-1881
Security: FreeBSD-SA-16:05.tcp, CVE-2016-1882
Security: FreeBSD-SA-16:06.bsnmpd, CVE-2015-5677


# 293592 09-Jan-2016 dchagin

MFC r283492:

Implement Linux specific syncfs() system call.


# 293588 09-Jan-2016 dchagin

MFC r283488:

Implement recvmmsg() and sendmmsg() system calls.


# 293585 09-Jan-2016 dchagin

MFC r283484:

Implement epoll_pwait() system call.


# 293582 09-Jan-2016 dchagin

MFC r283480:

Add utimensat() system call.


# 293569 09-Jan-2016 dchagin

MFC r283467:

Call nosys in case when the incorrect syscall number is specified.

Its my fault, fixed by mjg@ at r289055.


# 293567 09-Jan-2016 dchagin

MFC r283465:

Add preliminary fallocate system call implementation
to emulate posix_fallocate() function.


# 293555 09-Jan-2016 dchagin

MFC r283451:

Implement ppoll() system call.


# 293549 09-Jan-2016 dchagin

MFC r283444:

Implement eventfd system call.


# 293546 09-Jan-2016 dchagin

MFC r283441:

Implement epoll family system calls. This is a tiny wrapper
around kqueue() to implement epoll subset of functionality.
The kqueue user data are 32bit on i386 which is not enough for
epoll user data, so we keep user data in the proc emuldata.

Initial patch developed by rdivacky@ in 2007, then extended
by Yuri Victorovich @ r255672 and finished by me
in collaboration with mjg@ and jillies@.


# 293533 09-Jan-2016 dchagin

MFC r283428:

Change linux faccessat syscall definition to match actual linux one.

The AT_EACCESS and AT_SYMLINK_NOFOLLOW flags are actually implemented
within the glibc wrapper function for faccessat(). If either of these
flags are specified, then the wrapper function employs fstatat() to
determine access permissions.


# 293512 09-Jan-2016 dchagin

MFC r283403:

Implement pselect6() system call.


# 293510 09-Jan-2016 dchagin

MFC r283401:

Implement prlimit64() system call.


# 293508 09-Jan-2016 dchagin

MFC r283399:

Implement dup3() system call.


# 293505 09-Jan-2016 dchagin

MFC r283396:

Implement rt_sigqueueinfo() system call.


# 293503 09-Jan-2016 dchagin

MFC r283394:

Implement waitid() system call.


# 293487 09-Jan-2016 dchagin

MFC r283379:

Implement a Linux version of sched_getparam() && sched_setparam().
Temporarily use the first thread in proc.


# 293478 09-Jan-2016 dchagin

MFC r283370:

In preparation for switching linuxulator to the use the native 1:1
threads introduce linux_exit() stub instead of sys_exit() call
(which terminates process).
In the new linuxulator exit() system call terminates the calling
thread (not a whole process).


# 276810 08-Jan-2015 dchagin

MFC r276508, r276509:
Correct an argument status of wait4 syscall for Linuxulator.


# 272020 23-Sep-2014 bz

MFC r271743:

Implement most of timer_{create,settime,gettime,getoverrun,delete}
for amd64/linux32. Fix the entirely bogus (untested) version from
r161310 for i386/linux using the same shared code in compat/linux.

It is unclear to me if we could support more clock mappings but
the current set allows me to successfully run commercial
32bit linux software under linuxolator on amd64.

Reviewed by: jhb
Differential Revision: D784
Sponsored by: DARPA, AFRL
Approved by: re (gjb)


# 276810 08-Jan-2015 dchagin

MFC r276508, r276509:
Correct an argument status of wait4 syscall for Linuxulator.


# 272020 23-Sep-2014 bz

MFC r271743:

Implement most of timer_{create,settime,gettime,getoverrun,delete}
for amd64/linux32. Fix the entirely bogus (untested) version from
r161310 for i386/linux using the same shared code in compat/linux.

It is unclear to me if we could support more clock mappings but
the current set allows me to successfully run commercial
32bit linux software under linuxolator on amd64.

Reviewed by: jhb
Differential Revision: D784
Sponsored by: DARPA, AFRL
Approved by: re (gjb)