aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/compat.h
AgeCommit message (Expand)AuthorFilesLines
2023-10-03syscalls: Cleanup references to sys_lookup_dcookie()Sohil Mehta1-1/+0
2023-06-22syscalls: Remove file path comments from headersSohil Mehta1-73/+9
2022-10-19signal/compat: Remove compat_sigset_t overrideBrian Gerst1-2/+0
2022-05-31Merge tag 'riscv-for-linus-5.19-mw0' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-0/+68
2022-04-26riscv: compat: syscall: Add compat_sys_call_table implementationGuo Ren1-0/+37
2022-04-26compat: consolidate the compat_flock{,64} definitionChristoph Hellwig1-0/+31
2022-04-22signal: Deliver SIGTRAP on perf event asynchronously if blockedMarco Elver1-0/+1
2021-09-08arch: remove compat_alloc_user_spaceArnd Bergmann1-2/+0
2021-09-08compat: remove some compat entry pointsArnd Bergmann1-20/+0
2021-09-08mm: simplify compat numa syscallsArnd Bergmann1-8/+9
2021-07-23compat: make linux/compat.h available everywhereArnd Bergmann1-17/+15
2021-07-01x86: signal: don't do sas_ss_reset() until we are certain that sigframe won't...Al Viro1-2/+0
2021-05-21Merge branch 'for-v5.13-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-4/+6
2021-05-18signal: Deliver all of the siginfo perf data in _perfEric W. Biederman1-1/+4
2021-05-18siginfo: Move si_trapno inside the union inside _si_faultEric W. Biederman1-3/+2
2021-05-07Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+0
2021-05-06include/linux/compat.h: remove unneeded declaration from COMPAT_SYSCALL_DEFIN...Masahiro Yamada1-1/+0
2021-04-30Merge tag 'powerpc-5.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-0/+35
2021-04-23signal, perf: Fix siginfo_t by avoiding u64 on 32-bit architecturesMarco Elver1-1/+1
2021-04-16signal: Introduce TRAP_PERF si_code and si_perf to siginfoMarco Elver1-0/+2
2021-04-03signal: Add unsafe_get_compat_sigset()Christophe Leroy1-0/+35
2020-12-19epoll: wire up syscall epoll_pwait2Willem de Bruijn1-0/+6
2020-12-04signal: Add unsafe_put_compat_sigset()Christophe Leroy1-0/+32
2020-10-12Merge branch 'compat.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-6/+0
2020-10-12Merge branch 'work.quota-compat' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+9
2020-10-12Merge branch 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-36/+14
2020-10-03mm: remove compat_process_vm_{readv,writev}Christoph Hellwig1-8/+0
2020-10-03fs: remove compat_sys_vmspliceChristoph Hellwig1-4/+0
2020-10-03fs: remove the compat readv/writev syscallsChristoph Hellwig1-4/+0
2020-10-03fs: remove various compat readv/writev helpersChristoph Hellwig1-10/+10
2020-10-03iov_iter: refactor rw_copy_check_uvector and import_iovecChristoph Hellwig1-11/+5
2020-09-25compat.h: fix a spelling error in <linux/compat.h>Christoph Hellwig1-1/+1
2020-09-22fs: remove compat_sys_mountChristoph Hellwig1-6/+0
2020-09-17compat: add a compat_need_64bit_alignment_fixup() helperChristoph Hellwig1-0/+9
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-3/+3
2020-08-14all arch: remove system call sys_sysctlXiaoming Ni1-1/+0
2020-07-19net: remove compat_sys_{get,set}sockoptChristoph Hellwig1-4/+0
2020-05-05signal: refactor copy_siginfo_to_user32Christoph Hellwig1-2/+9
2020-03-31Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-4/+5
2020-03-19x86: get rid of put_user_try in {ia32,x32}_setup_rt_frame()Al Viro1-4/+5
2020-02-21y2038: remove unused time32 interfacesArnd Bergmann1-29/+0
2020-01-03compat: provide compat_ptr() on all architecturesArnd Bergmann1-0/+18
2019-12-01Merge tag 'y2038-cleanups-5.5' of git://git.kernel.org:/pub/scm/linux/kernel/...Linus Torvalds1-13/+6
2019-11-20futex: Move futex exit handling into futex codeThomas Gleixner1-2/+0
2019-11-15y2038: itimer: compat handling to itimer.cArnd Bergmann1-11/+4
2019-11-15y2038: make ns_to_compat_timeval use __kernel_old_timevalArnd Bergmann1-2/+2
2019-07-16signal: simplify set_user_sigmask/restore_user_sigmaskOleg Nesterov1-2/+1
2019-02-07y2038: syscalls: rename y2038 compat syscallsArnd Bergmann1-69/+4
2019-02-07time: make adjtime compat handling available for 32 bitArnd Bergmann1-33/+2
2018-12-18y2038: signal: Add compat_sys_rt_sigtimedwait_time64Arnd Bergmann1-0/+3
2018-12-18y2038: socket: Add compat_sys_recvmmsg_time64Arnd Bergmann1-0/+3
2018-12-06io_pgetevents: use __kernel_timespecDeepa Dinamani1-0/+6
2018-12-06pselect6: use __kernel_timespecDeepa Dinamani1-0/+5
2018-12-06ppoll: use __kernel_timespecDeepa Dinamani1-0/+5
2018-12-06signal: Add set_user_sigmask()Deepa Dinamani1-0/+4
2018-11-03Merge branch 'core/urgent' into x86/urgent, to pick up objtool fixIngo Molnar1-0/+3
2018-11-01x86/compat: Adjust in_compat_syscall() to generic code under !COMPATDmitry Safonov1-2/+2
2018-10-31include/linux/compat.h: mark expected switch fall-throughsGustavo A. R. Silva1-0/+3
2018-10-25Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-54/+47
2018-10-24Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-2/+2
2018-10-03signal: Distinguish between kernel_siginfo and siginfoEric W. Biederman1-2/+2
2018-10-01signal: Introduce COMPAT_SIGMINSTKSZ for use in compat_sys_sigaltstackWill Deacon1-0/+3
2018-08-29y2038: utimes: Rework #ifdef guards for compat syscallsArnd Bergmann1-6/+1
2018-08-29asm-generic: Move common compat types to asm-generic/compat.hArnd Bergmann1-2/+0
2018-08-27y2038: globally rename compat_time to old_time32Arnd Bergmann1-48/+48
2018-08-14Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-0/+11
2018-07-12Merge branch 'fortglx/4.19/time' of https://git.linaro.org/people/john.stultz...Thomas Gleixner1-1/+7
2018-07-12kernel: add kcompat_sys_{f,}statfs64()Mark Rutland1-0/+11
2018-06-25disable -Wattribute-alias warning for SYSCALL_DEFINEx()Arnd Bergmann1-1/+7
2018-06-24time: Enable get/put_compat_itimerspec64 alwaysDeepa Dinamani1-9/+0
2018-06-04Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-4/+8
2018-05-02aio: implement io_pgeteventsChristoph Hellwig1-0/+7
2018-04-19compat: Enable compat_get/put_timespec64 alwaysDeepa Dinamani1-2/+0
2018-04-19compat: Move compat_timespec/ timeval to compat_time.hDeepa Dinamani1-0/+1
2018-04-19time: Add an asm-generic/compat.h fileArnd Bergmann1-1/+2
2018-04-19compat: Make compat helpers independent of CONFIG_COMPATDeepa Dinamani1-2/+6
2018-04-15Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-12/+39
2018-04-09syscalls/core, syscalls/x86: Clean up compat syscall stub naming conventionDominik Brodowski1-12/+17
2018-04-05Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-2/+4
2018-04-05syscalls/core: Prepare CONFIG_ARCH_HAS_SYSCALL_WRAPPER=y for compat syscallsDominik Brodowski1-0/+22
2018-04-02signal: Correct the offset of si_pkey and si_lower in struct siginfo on m68kEric W. Biederman1-2/+4
2018-04-02bpf: whitelist all syscalls for error injectionHoward McLauchlan1-0/+3
2018-04-02syscalls/x86: auto-create compat_sys_*() prototypesDominik Brodowski1-14/+3
2018-04-02syscalls: sort syscall prototypes in include/linux/compat.hDominik Brodowski1-277/+378
2018-04-02fs/quota: use COMPAT_SYSCALL_DEFINE for sys32_quotactl()Dominik Brodowski1-0/+3
2018-03-08Merge tag 'mips_fixes_4.16_4' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+24
2018-03-06signal: Correct the offset of si_pkey in struct siginfoEric W. Biederman1-2/+2
2018-03-02signals: Move put_compat_sigset to compat.h to silence hardened usercopyMatt Redfearn1-2/+24
2018-01-15signal: Unify and correct copy_siginfo_from_user32Eric W. Biederman1-1/+1
2018-01-15signal: Move addr_lsb into the _sigfault union for clarityEric W. Biederman1-2/+10
2018-01-15signal: unify compat_siginfo_tAl Viro1-0/+90
2017-11-17Merge branch 'misc.compat' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-7/+3
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-09-19get_compat_sigset()Al Viro1-1/+1
2017-09-19get rid of {get,put}_compat_itimerspec()Al Viro1-5/+0
2017-09-19signal: replace sigset_to_compat() with put_compat_sigset()Dmitry V. Levin1-1/+2
2017-09-14Merge branch 'work.ipc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-9/+0
2017-08-31annotate RWF_... flagsChristoph Hellwig1-2/+14
2017-08-31teach SYSCALL_DEFINE/COMPAT_SYSCALL_DEFINE to handle __bitwise argumentsAl Viro1-1/+1
2017-07-15semtimedop(): move compat to nativeAl Viro1-9/+0
2017-07-06Merge branch 'misc.compat' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-2/+1
2017-06-25time: introduce {get,put}_itimerspec64Deepa Dinamani1-0/+4
2017-06-25time: add get_timespec64 and put_timespec64Deepa Dinamani1-0/+2
2017-06-14itimers: Move compat itimer syscalls to native onesAl Viro1-0/+4
2017-06-14ntp: Move adjtimex related compat syscalls to native counterpartsAl Viro1-0/+4
2017-06-09compat_{get,put}_bitmap(): use unsafe_{get,put}_user()Al Viro1-2/+1
2017-05-03Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-0/+7
2017-05-02Merge branch 'work.compat' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-5/+0
2017-04-17Remove compat_sys_getdents64()Al Viro1-5/+0
2017-04-04KEYS: add SP800-56A KDF support for DHStephan Mueller1-0/+7
2017-03-20x86/syscalls/32: Wire up arch_prctl on x86-32Kyle Huey1-0/+2
2017-02-27sigaltstack: support SS_AUTODISARM for CONFIG_COMPATStas Sergeev1-1/+3
2017-02-01fs/binfmt: Convert obsolete cputime type to nsecsFrederic Weisbecker1-1/+19
2016-09-27compat: remove compat_printk()Arnd Bergmann1-1/+0
2016-03-22compat: add in_compat_syscall to ask whether we're in a compat syscallAndy Lutomirski1-0/+15
2016-03-04vfs: vfs: Define new syscalls preadv2,pwritev2Milosz Tanski1-0/+6
2015-07-17include, lib: add __printf attributes to several function prototypesNicolas Iooss1-1/+1
2015-01-27compat: Declare compat_sys_sigpending and compat_sys_sigprocmask prototypesCatalin Marinas1-0/+9
2014-12-13syscalls: implement execveat() system callDavid Drysdale1-0/+3
2014-04-02Merge branch 'x86-x32-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-13/+10
2014-03-20compat: include linux/unistd.h within linux/compat.hHeiko Carstens1-0/+1
2014-03-06mm/compat: convert to COMPAT_SYSCALL_DEFINE with changing parameter typesHeiko Carstens1-5/+5
2014-03-06kexec/compat: convert to COMPAT_SYSCALL_DEFINE with changing parameter typesHeiko Carstens1-3/+3
2014-03-06net/compat: convert to COMPAT_SYSCALL_DEFINE with changing parameter typesHeiko Carstens1-2/+2
2014-03-06ipc/compat: convert to COMPAT_SYSCALL_DEFINE with changing parameter typesHeiko Carstens1-2/+2
2014-03-06fs/compat: convert to COMPAT_SYSCALL_DEFINE with changing parameter typesHeiko Carstens1-8/+10
2014-03-06fs/compat: optional preadv64/pwrite64 compat system callsHeiko Carstens1-0/+13
2014-03-06ipc/compat_sys_msgrcv: change msgtyp type from long to compat_long_tHeiko Carstens1-1/+1
2014-03-04compat: add COMPAT_SYSCALL_DEFINE0 macroHeiko Carstens1-0/+3
2014-03-04compat: let architectures define __ARCH_WANT_COMPAT_SYS_GETDENTS64Heiko Carstens1-0/+2
2014-02-02compat: Get rid of (get|put)_compat_time(val|spec)H. Peter Anvin1-13/+10
2014-02-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2014-01-31Typo in compat_sys_lseek() declarationStephan Springl1-1/+1
2014-01-29fs/compat: fix lookup_dcookie() parameter handlingHeiko Carstens1-1/+1
2014-01-29fs/compat: fix parameter handling for compat readv/writev syscallsHeiko Carstens1-8/+8
2013-11-13Merge branch 'akpm' (patches from Andrew Morton)Linus Torvalds1-2/+2
2013-11-13syscalls.h: use gcc alias instead of assembler aliases for syscallsAndi Kleen1-2/+2
2013-11-09constify copy_siginfo_to_user{,32}()Al Viro1-1/+1
2013-09-11syscalls.h: add forward declarations for inplace syscall wrappersSergei Trofimovich1-0/+1
2013-09-01Introduce [compat_]save_altstack_ex() to unbreak x86 SMAPAl Viro1-0/+7
2013-05-09unify compat fanotify_mark(2), switch to COMPAT_SYSCALL_DEFINEAl Viro1-0/+2
2013-05-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-36/+15
2013-03-19Fix breakage in MIPS siginfo handlingDavid Howells1-2/+2
2013-03-03get rid of compat_sys_semctl() and friends in case of ARCH_WANT_OLD_COMPAT_IPCAl Viro1-13/+4
2013-03-03merge compat sys_ipc instancesAl Viro1-0/+1
2013-03-03consolidate compat lookup_dcookie()Al Viro1-0/+1
2013-03-03switch epoll_pwait to COMPAT_SYSCALL_DEFINEAl Viro1-3/+2
2013-03-03convert sendfile{,64} to COMPAT_SYSCALL_DEFINEAl Viro1-0/+2
2013-03-03make HAVE_SYSCALL_WRAPPERS unconditionalAl Viro1-9/+0
2013-03-03get rid of duplicate logics in __SC_....[1-6] definitionsAl Viro1-12/+6
2013-02-25fix compat truncate/ftruncateAl Viro1-0/+2
2013-02-24switch lseek to COMPAT_SYSCALL_DEFINEAl Viro1-0/+1
2013-02-14burying unused conditionalsAl Viro1-14/+0
2013-02-03switch compat_sys_open* to COMPAT_SYSCALL_DEFINEAl Viro1-1/+1
2013-02-03generic sys_sigaction() and compat_sys_sigaction()Al Viro1-0/+14
2013-02-03generic sys_compat_rt_sigaction()Al Viro1-0/+24
2013-02-03generic compat_sys_rt_sigqueueinfo()Al Viro1-0/+4
2013-02-03generic compat_sys_rt_sigpending()Al Viro1-0/+4
2013-02-03generic compat_sys_rt_sigprocmask()Al Viro1-1/+7
2012-12-20Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-0/+62
2012-12-19new helpers: __save_altstack/__compat_save_altstack, switch x86 and um to thoseAl Viro1-0/+1
2012-12-19generic compat_sys_sigaltstack()Al Viro1-0/+16
2012-12-19new helper: compat_user_stack_pointer()Al Viro1-0/+3
2012-12-19COMPAT_SYSCALL_DEFINE: infrastructureAl Viro1-0/+42
2012-12-17compat: generic compat_sys_sched_rr_get_interval() implementationCatalin Marinas1-0/+3
2012-11-28make compat_do_execve() static, lose pt_regs argumentAl Viro1-2/+0
2012-10-20Drop struct pt_regs * argument in compat_sys_execve()Al Viro1-2/+0
2012-10-10Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+6
2012-10-06compat: move compat_siginfo_t definition to asm/compat.hDenys Vlasenko1-5/+0
2012-10-02compat: fs: Generic compat_sys_sendfile implementationCatalin Marinas1-0/+3
2012-09-30generic sys_execve()Al Viro1-2/+6
2012-07-30ipc: use Kconfig options for __ARCH_WANT_[COMPAT_]IPC_PARSE_VERSIONWill Deacon1-1/+0
2012-07-30ipc: compat: use signed size_t types for msgsnd and msgrcvWill Deacon1-2/+2
2012-07-30ipc: allow compat IPC version field parsing if !ARCH_WANT_OLD_COMPAT_IPCWill Deacon1-0/+1
2012-05-31aio/vfs: cleanup of rw_copy_check_uvector() and compat_rw_copy_check_uvector()Christopher Yeoh1-2/+1
2012-03-29Merge branch 'x86-x32-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+20
2012-03-15[PATCH v3] ipc: provide generic compat versions of IPC syscallsChris Metcalf1-1/+11
2012-02-26Fix autofs compile without CONFIG_COMPATLinus Torvalds1-0/+4
2012-02-20compat: Add helper functions to read/write struct timeval, timespecH. Peter Anvin1-0/+16
2012-02-20compat: Introduce COMPAT_USE_64BIT_TIMEH. J. Lu1-0/+4
2012-01-03switch open and mkdir syscalls to umode_tAl Viro1-2/+2
2011-12-03asm-generic/unistd.h: support new process_vm_{readv,write} syscallsChris Metcalf1-0/+9
2011-10-31Cross Memory AttachChristopher Yeoh1-1/+2
2011-08-26All Arch: remove linkage for sys_nfsservctl system callNeilBrown1-1/+0
2011-07-15nfsd: Remove deprecated nfsctl system call and related code.NeilBrown1-9/+0
2011-06-27include/linux/compat.h: declare compat_sys_sendmmsg()Chris Metcalf1-0/+2
2011-05-24compat: include aio_abi.h for aio_context_tStephen Rothwell1-0/+1
2011-05-19include/linux/compat.h: coding-style fixesChris Metcalf1-33/+41
2011-05-12compat: fixes to allow working with tile archChris Metcalf1-0/+187
2010-09-14compat: Make compat_alloc_user_space() incorporate the access_ok()H. Peter Anvin1-0/+3
2010-08-13Mark arguments to certain syscalls as being constDavid Howells1-3/+3
2010-05-27compat: factor out compat_rw_copy_check_uvector from compat_do_readv_writevJeff Moyer1-0/+4
2010-03-12Add generic sys_old_select()Christoph Hellwig1-0/+3
2009-11-08net/compat_ioctl: support SIOCWANDEVArnd Bergmann1-17/+24
2009-11-06net: compat: No need to define IFHWADDRLEN and IFNAMSIZ twice.David S. Miller1-2/+0
2009-11-06compat: add struct compat_ifreq etc to compat.hArnd Bergmann1-0/+39
2009-04-30signals: implement sys_rt_tgsigqueueinfoThomas Gleixner1-0/+2
2009-04-04Make non-compat preadv/pwritev use native register sizeLinus Torvalds1-2/+2
2009-04-02preadv/pwritev: Add preadv and pwritev system calls.Gerd Hoffmann1-0/+6
2009-03-27generic compat_sys_ustatChristoph Hellwig1-0/+8