take compat_sys_old_getrlimit() to native syscall

... and sanitize the ifdefs in there

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2017-05-26 22:04:29 -04:00
rodzic 123dbfe088
commit 613763a1f0
6 zmienionych plików z 25 dodań i 33 usunięć

Wyświetl plik

@@ -116,7 +116,6 @@ struct compat_statfs {
int f_spare[4];
};
#define COMPAT_RLIM_OLD_INFINITY 0x7fffffff
#define COMPAT_RLIM_INFINITY 0xffffffff
typedef u32 compat_old_sigset_t; /* at least 32 bits */