x86: syscall -- Add sys_prlimit64 call

We will need it for own prlimit proxy call.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov 2013-05-23 13:34:51 +04:00 committed by Pavel Emelyanov
parent fc7c13ded0
commit a5fcc8b021
2 changed files with 2 additions and 0 deletions

View file

@ -82,6 +82,7 @@ __NR_signalfd4 289 sys_signalfd (int fd, k_rtsigset_t *mask, size_t sizemask,
__NR_rt_tgsigqueueinfo 297 sys_rt_tgsigqueueinfo (pid_t tgid, pid_t pid, int sig, siginfo_t *info)
__NR_fanotify_init 300 sys_fanotify_init (unsigned int flags, unsigned int event_f_flags)
__NR_fanotify_mark 301 sys_fanotify_mark (int fanotify_fd, unsigned int flags, u64 mask, int dfd, const char *pathname)
__NR_prlimit64 302 sys_prlimit64 (pid_t pid, unsigned int resource, const struct rlimit64 *new_rlim, struct rlimit64 *old_rlim)
__NR_open_by_handle_at 304 sys_open_by_handle_at (int mountdirfd, struct file_handle *handle, int flags)
__NR_setns 308 sys_setns (int fd, int nstype)
__NR_kcmp 312 sys_kcmp (pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2)

View file

@ -60,6 +60,7 @@ struct robust_list_head;
#define setns sys_setns
struct rlimit;
struct rlimit64;
struct krlimit {
unsigned long rlim_cur;