Page MenuHomeFreeBSD

D62273.1796212481.diff
No OneTemporary

Authored By
Unknown
Size
19 KB
Referenced Files
None
Subscribers
None

D62273.1796212481.diff

diff --git a/sys/powerpc/linux/linux_proto.h b/sys/powerpc/linux/linux_proto.h
--- a/sys/powerpc/linux/linux_proto.h
+++ b/sys/powerpc/linux/linux_proto.h
@@ -179,10 +179,6 @@
char resource_l_[PADL_(l_uint)]; l_uint resource; char resource_r_[PADR_(l_uint)];
char rlim_l_[PADL_(struct l_rlimit *)]; struct l_rlimit * rlim; char rlim_r_[PADR_(struct l_rlimit *)];
};
-struct linux_getrlimit_args {
- char resource_l_[PADL_(l_uint)]; l_uint resource; char resource_r_[PADR_(l_uint)];
- char rlim_l_[PADL_(struct l_rlimit *)]; struct l_rlimit * rlim; char rlim_r_[PADR_(struct l_rlimit *)];
-};
struct linux_getgroups_args {
char gidsetsize_l_[PADL_(l_int)]; l_int gidsetsize; char gidsetsize_r_[PADR_(l_int)];
char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)];
@@ -191,13 +187,6 @@
char gidsetsize_l_[PADL_(l_int)]; l_int gidsetsize; char gidsetsize_r_[PADR_(l_int)];
char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)];
};
-struct linux_select_args {
- char nfds_l_[PADL_(l_int)]; l_int nfds; char nfds_r_[PADR_(l_int)];
- char readfds_l_[PADL_(l_fd_set *)]; l_fd_set * readfds; char readfds_r_[PADR_(l_fd_set *)];
- char writefds_l_[PADL_(l_fd_set *)]; l_fd_set * writefds; char writefds_r_[PADR_(l_fd_set *)];
- char exceptfds_l_[PADL_(l_fd_set *)]; l_fd_set * exceptfds; char exceptfds_r_[PADR_(l_fd_set *)];
- char timeout_l_[PADL_(struct l_timeval *)]; struct l_timeval * timeout; char timeout_r_[PADR_(struct l_timeval *)];
-};
struct linux_symlink_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
char to_l_[PADL_(char *)]; char * to; char to_r_[PADR_(char *)];
@@ -340,6 +329,13 @@
char dent_l_[PADL_(void *)]; void * dent; char dent_r_[PADR_(void *)];
char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
};
+struct linux_select_args {
+ char nfds_l_[PADL_(l_int)]; l_int nfds; char nfds_r_[PADR_(l_int)];
+ char readfds_l_[PADL_(l_fd_set *)]; l_fd_set * readfds; char readfds_r_[PADR_(l_fd_set *)];
+ char writefds_l_[PADL_(l_fd_set *)]; l_fd_set * writefds; char writefds_r_[PADR_(l_fd_set *)];
+ char exceptfds_l_[PADL_(l_fd_set *)]; l_fd_set * exceptfds; char exceptfds_r_[PADR_(l_fd_set *)];
+ char timeout_l_[PADL_(struct l_timeval *)]; struct l_timeval * timeout; char timeout_r_[PADR_(struct l_timeval *)];
+};
struct linux_msync_args {
char addr_l_[PADL_(l_ulong)]; l_ulong addr; char addr_r_[PADR_(l_ulong)];
char len_l_[PADL_(l_size_t)]; l_size_t len; char len_r_[PADR_(l_size_t)];
@@ -484,6 +480,10 @@
struct linux_vfork_args {
syscallarg_t dummy;
};
+struct linux_getrlimit_args {
+ char resource_l_[PADL_(l_uint)]; l_uint resource; char resource_r_[PADR_(l_uint)];
+ char rlim_l_[PADL_(struct l_rlimit *)]; struct l_rlimit * rlim; char rlim_r_[PADR_(struct l_rlimit *)];
+};
struct linux_mmap2_args {
char addr_l_[PADL_(l_ulong)]; l_ulong addr; char addr_r_[PADR_(l_ulong)];
char len_l_[PADL_(l_ulong)]; l_ulong len; char len_r_[PADR_(l_ulong)];
@@ -1460,10 +1460,8 @@
int linux_getppid(struct thread *, struct linux_getppid_args *);
int linux_sethostname(struct thread *, struct linux_sethostname_args *);
int linux_setrlimit(struct thread *, struct linux_setrlimit_args *);
-int linux_getrlimit(struct thread *, struct linux_getrlimit_args *);
int linux_getgroups(struct thread *, struct linux_getgroups_args *);
int linux_setgroups(struct thread *, struct linux_setgroups_args *);
-int linux_select(struct thread *, struct linux_select_args *);
int linux_symlink(struct thread *, struct linux_symlink_args *);
int linux_readlink(struct thread *, struct linux_readlink_args *);
int linux_reboot(struct thread *, struct linux_reboot_args *);
@@ -1498,6 +1496,7 @@
int linux_setfsgid(struct thread *, struct linux_setfsgid_args *);
int linux_llseek(struct thread *, struct linux_llseek_args *);
int linux_getdents(struct thread *, struct linux_getdents_args *);
+int linux_select(struct thread *, struct linux_select_args *);
int linux_msync(struct thread *, struct linux_msync_args *);
int linux_writev(struct thread *, struct linux_writev_args *);
int linux_getsid(struct thread *, struct linux_getsid_args *);
@@ -1530,6 +1529,7 @@
int linux_sigaltstack(struct thread *, struct linux_sigaltstack_args *);
int linux_sendfile(struct thread *, struct linux_sendfile_args *);
int linux_vfork(struct thread *, struct linux_vfork_args *);
+int linux_getrlimit(struct thread *, struct linux_getrlimit_args *);
int linux_mmap2(struct thread *, struct linux_mmap2_args *);
int linux_getdents64(struct thread *, struct linux_getdents64_args *);
int linux_pivot_root(struct thread *, struct linux_pivot_root_args *);
@@ -1822,10 +1822,8 @@
#define LINUX_SYS_AUE_linux_getppid AUE_GETPPID
#define LINUX_SYS_AUE_linux_sethostname AUE_SYSCTL
#define LINUX_SYS_AUE_linux_setrlimit AUE_SETRLIMIT
-#define LINUX_SYS_AUE_linux_getrlimit AUE_GETRLIMIT
#define LINUX_SYS_AUE_linux_getgroups AUE_GETGROUPS
#define LINUX_SYS_AUE_linux_setgroups AUE_SETGROUPS
-#define LINUX_SYS_AUE_linux_select AUE_SELECT
#define LINUX_SYS_AUE_linux_symlink AUE_SYMLINK
#define LINUX_SYS_AUE_linux_readlink AUE_READLINK
#define LINUX_SYS_AUE_linux_reboot AUE_REBOOT
@@ -1860,6 +1858,7 @@
#define LINUX_SYS_AUE_linux_setfsgid AUE_SETFSGID
#define LINUX_SYS_AUE_linux_llseek AUE_LSEEK
#define LINUX_SYS_AUE_linux_getdents AUE_GETDIRENTRIES
+#define LINUX_SYS_AUE_linux_select AUE_SELECT
#define LINUX_SYS_AUE_linux_msync AUE_MSYNC
#define LINUX_SYS_AUE_linux_writev AUE_WRITEV
#define LINUX_SYS_AUE_linux_getsid AUE_GETSID
@@ -1892,6 +1891,7 @@
#define LINUX_SYS_AUE_linux_sigaltstack AUE_NULL
#define LINUX_SYS_AUE_linux_sendfile AUE_SENDFILE
#define LINUX_SYS_AUE_linux_vfork AUE_VFORK
+#define LINUX_SYS_AUE_linux_getrlimit AUE_GETRLIMIT
#define LINUX_SYS_AUE_linux_mmap2 AUE_MMAP
#define LINUX_SYS_AUE_linux_getdents64 AUE_GETDIRENTRIES
#define LINUX_SYS_AUE_linux_pivot_root AUE_PIVOT_ROOT
diff --git a/sys/powerpc/linux/linux_syscall.h b/sys/powerpc/linux/linux_syscall.h
--- a/sys/powerpc/linux/linux_syscall.h
+++ b/sys/powerpc/linux/linux_syscall.h
@@ -58,13 +58,11 @@
#define LINUX_SYS_setregid 71
#define LINUX_SYS_linux_sethostname 74
#define LINUX_SYS_linux_setrlimit 75
-#define LINUX_SYS_linux_getrlimit 76
#define LINUX_SYS_getrusage 77
#define LINUX_SYS_gettimeofday 78
#define LINUX_SYS_settimeofday 79
#define LINUX_SYS_linux_getgroups 80
#define LINUX_SYS_linux_setgroups 81
-#define LINUX_SYS_linux_select 82
#define LINUX_SYS_linux_symlink 83
#define LINUX_SYS_linux_readlink 85
#define LINUX_SYS_swapon 87
@@ -107,6 +105,7 @@
#define LINUX_SYS_linux_setfsgid 139
#define LINUX_SYS_linux_llseek 140
#define LINUX_SYS_linux_getdents 141
+#define LINUX_SYS_linux_select 142
#define LINUX_SYS_flock 143
#define LINUX_SYS_linux_msync 144
#define LINUX_SYS_readv 145
@@ -150,6 +149,7 @@
#define LINUX_SYS_linux_sigaltstack 185
#define LINUX_SYS_linux_sendfile 186
#define LINUX_SYS_linux_vfork 189
+#define LINUX_SYS_linux_getrlimit 190
#define LINUX_SYS_linux_mmap2 192
#define LINUX_SYS_linux_getdents64 202
#define LINUX_SYS_linux_pivot_root 203
diff --git a/sys/powerpc/linux/linux_syscalls.c b/sys/powerpc/linux/linux_syscalls.c
--- a/sys/powerpc/linux/linux_syscalls.c
+++ b/sys/powerpc/linux/linux_syscalls.c
@@ -81,13 +81,13 @@
"#73", /* 73 = linux_sigpending */
"linux_sethostname", /* 74 = linux_sethostname */
"linux_setrlimit", /* 75 = linux_setrlimit */
- "linux_getrlimit", /* 76 = linux_getrlimit */
+ "#76", /* 76 = linux_old_getrlimit */
"getrusage", /* 77 = getrusage */
"gettimeofday", /* 78 = gettimeofday */
"settimeofday", /* 79 = settimeofday */
"linux_getgroups", /* 80 = linux_getgroups */
"linux_setgroups", /* 81 = linux_setgroups */
- "linux_select", /* 82 = linux_select */
+ "#82", /* 82 = linux_old_select */
"linux_symlink", /* 83 = linux_symlink */
"#84", /* 84 = linux_oldlstat */
"linux_readlink", /* 85 = linux_readlink */
@@ -147,7 +147,7 @@
"linux_setfsgid", /* 139 = linux_setfsgid */
"linux_llseek", /* 140 = linux_llseek */
"linux_getdents", /* 141 = linux_getdents */
- "#142", /* 142 = linux__newselect */
+ "linux_select", /* 142 = linux_select */
"flock", /* 143 = flock */
"linux_msync", /* 144 = linux_msync */
"readv", /* 145 = readv */
@@ -195,7 +195,7 @@
"#187", /* 187 = linux_getpmsg */
"#188", /* 188 = linux_putpmsg */
"linux_vfork", /* 189 = linux_vfork */
- "#190", /* 190 = linux_ugetrlimit */
+ "linux_getrlimit", /* 190 = linux_getrlimit */
"#191", /* 191 = linux_readahead */
"linux_mmap2", /* 192 = linux_mmap2 */
"#193", /* 193 = linux_truncate64 */
diff --git a/sys/powerpc/linux/linux_sysent.c b/sys/powerpc/linux/linux_sysent.c
--- a/sys/powerpc/linux/linux_sysent.c
+++ b/sys/powerpc/linux/linux_sysent.c
@@ -150,13 +150,13 @@
{ .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_ABSENT }, /* 73 = linux_sigpending */
{ .sy_narg = AS(linux_sethostname_args), .sy_call = (sy_call_t *)linux_sethostname, .sy_auevent = AUE_SYSCTL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 74 = linux_sethostname */
{ .sy_narg = AS(linux_setrlimit_args), .sy_call = (sy_call_t *)linux_setrlimit, .sy_auevent = AUE_SETRLIMIT, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 75 = linux_setrlimit */
- { .sy_narg = AS(linux_getrlimit_args), .sy_call = (sy_call_t *)linux_getrlimit, .sy_auevent = AUE_GETRLIMIT, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 76 = linux_getrlimit */
+ { .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_ABSENT }, /* 76 = linux_old_getrlimit */
{ .sy_narg = AS(getrusage_args), .sy_call = (sy_call_t *)sys_getrusage, .sy_auevent = AUE_GETRUSAGE, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 77 = getrusage */
{ .sy_narg = AS(gettimeofday_args), .sy_call = (sy_call_t *)sys_gettimeofday, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 78 = gettimeofday */
{ .sy_narg = AS(settimeofday_args), .sy_call = (sy_call_t *)sys_settimeofday, .sy_auevent = AUE_SETTIMEOFDAY, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 79 = settimeofday */
{ .sy_narg = AS(linux_getgroups_args), .sy_call = (sy_call_t *)linux_getgroups, .sy_auevent = AUE_GETGROUPS, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 80 = linux_getgroups */
{ .sy_narg = AS(linux_setgroups_args), .sy_call = (sy_call_t *)linux_setgroups, .sy_auevent = AUE_SETGROUPS, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 81 = linux_setgroups */
- { .sy_narg = AS(linux_select_args), .sy_call = (sy_call_t *)linux_select, .sy_auevent = AUE_SELECT, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 82 = linux_select */
+ { .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_ABSENT }, /* 82 = linux_old_select */
{ .sy_narg = AS(linux_symlink_args), .sy_call = (sy_call_t *)linux_symlink, .sy_auevent = AUE_SYMLINK, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 83 = linux_symlink */
{ .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_ABSENT }, /* 84 = linux_oldlstat */
{ .sy_narg = AS(linux_readlink_args), .sy_call = (sy_call_t *)linux_readlink, .sy_auevent = AUE_READLINK, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 85 = linux_readlink */
@@ -216,7 +216,7 @@
{ .sy_narg = AS(linux_setfsgid_args), .sy_call = (sy_call_t *)linux_setfsgid, .sy_auevent = AUE_SETFSGID, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 139 = linux_setfsgid */
{ .sy_narg = AS(linux_llseek_args), .sy_call = (sy_call_t *)linux_llseek, .sy_auevent = AUE_LSEEK, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 140 = linux_llseek */
{ .sy_narg = AS(linux_getdents_args), .sy_call = (sy_call_t *)linux_getdents, .sy_auevent = AUE_GETDIRENTRIES, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 141 = linux_getdents */
- { .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_ABSENT }, /* 142 = linux__newselect */
+ { .sy_narg = AS(linux_select_args), .sy_call = (sy_call_t *)linux_select, .sy_auevent = AUE_SELECT, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 142 = linux_select */
{ .sy_narg = AS(flock_args), .sy_call = (sy_call_t *)sys_flock, .sy_auevent = AUE_FLOCK, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 143 = flock */
{ .sy_narg = AS(linux_msync_args), .sy_call = (sy_call_t *)linux_msync, .sy_auevent = AUE_MSYNC, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 144 = linux_msync */
{ .sy_narg = AS(readv_args), .sy_call = (sy_call_t *)sys_readv, .sy_auevent = AUE_READV, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 145 = readv */
@@ -264,7 +264,7 @@
{ .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_ABSENT }, /* 187 = linux_getpmsg */
{ .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_ABSENT }, /* 188 = linux_putpmsg */
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_vfork, .sy_auevent = AUE_VFORK, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 189 = linux_vfork */
- { .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_ABSENT }, /* 190 = linux_ugetrlimit */
+ { .sy_narg = AS(linux_getrlimit_args), .sy_call = (sy_call_t *)linux_getrlimit, .sy_auevent = AUE_GETRLIMIT, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 190 = linux_getrlimit */
{ .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_ABSENT }, /* 191 = linux_readahead */
{ .sy_narg = AS(linux_mmap2_args), .sy_call = (sy_call_t *)linux_mmap2, .sy_auevent = AUE_MMAP, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 192 = linux_mmap2 */
{ .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_ABSENT }, /* 193 = linux_truncate64 */
diff --git a/sys/powerpc/linux/linux_systrace_args.c b/sys/powerpc/linux/linux_systrace_args.c
--- a/sys/powerpc/linux/linux_systrace_args.c
+++ b/sys/powerpc/linux/linux_systrace_args.c
@@ -409,14 +409,6 @@
*n_args = 2;
break;
}
- /* linux_getrlimit */
- case 76: {
- struct linux_getrlimit_args *p = params;
- iarg[a++] = p->resource; /* l_uint */
- uarg[a++] = (intptr_t)p->rlim; /* struct l_rlimit * */
- *n_args = 2;
- break;
- }
/* getrusage */
case 77: {
struct getrusage_args *p = params;
@@ -457,17 +449,6 @@
*n_args = 2;
break;
}
- /* linux_select */
- case 82: {
- struct linux_select_args *p = params;
- iarg[a++] = p->nfds; /* l_int */
- uarg[a++] = (intptr_t)p->readfds; /* l_fd_set * */
- uarg[a++] = (intptr_t)p->writefds; /* l_fd_set * */
- uarg[a++] = (intptr_t)p->exceptfds; /* l_fd_set * */
- uarg[a++] = (intptr_t)p->timeout; /* struct l_timeval * */
- *n_args = 5;
- break;
- }
/* linux_symlink */
case 83: {
struct linux_symlink_args *p = params;
@@ -794,6 +775,17 @@
*n_args = 3;
break;
}
+ /* linux_select */
+ case 142: {
+ struct linux_select_args *p = params;
+ iarg[a++] = p->nfds; /* l_int */
+ uarg[a++] = (intptr_t)p->readfds; /* l_fd_set * */
+ uarg[a++] = (intptr_t)p->writefds; /* l_fd_set * */
+ uarg[a++] = (intptr_t)p->exceptfds; /* l_fd_set * */
+ uarg[a++] = (intptr_t)p->timeout; /* struct l_timeval * */
+ *n_args = 5;
+ break;
+ }
/* flock */
case 143: {
struct flock_args *p = params;
@@ -1148,6 +1140,14 @@
*n_args = 0;
break;
}
+ /* linux_getrlimit */
+ case 190: {
+ struct linux_getrlimit_args *p = params;
+ iarg[a++] = p->resource; /* l_uint */
+ uarg[a++] = (intptr_t)p->rlim; /* struct l_rlimit * */
+ *n_args = 2;
+ break;
+ }
/* linux_mmap2 */
case 192: {
struct linux_mmap2_args *p = params;
@@ -3367,19 +3367,6 @@
break;
};
break;
- /* linux_getrlimit */
- case 76:
- switch (ndx) {
- case 0:
- p = "l_uint";
- break;
- case 1:
- p = "userland struct l_rlimit *";
- break;
- default:
- break;
- };
- break;
/* getrusage */
case 77:
switch (ndx) {
@@ -3445,28 +3432,6 @@
break;
};
break;
- /* linux_select */
- case 82:
- switch (ndx) {
- case 0:
- p = "l_int";
- break;
- case 1:
- p = "userland l_fd_set *";
- break;
- case 2:
- p = "userland l_fd_set *";
- break;
- case 3:
- p = "userland l_fd_set *";
- break;
- case 4:
- p = "userland struct l_timeval *";
- break;
- default:
- break;
- };
- break;
/* linux_symlink */
case 83:
switch (ndx) {
@@ -3976,6 +3941,28 @@
break;
};
break;
+ /* linux_select */
+ case 142:
+ switch (ndx) {
+ case 0:
+ p = "l_int";
+ break;
+ case 1:
+ p = "userland l_fd_set *";
+ break;
+ case 2:
+ p = "userland l_fd_set *";
+ break;
+ case 3:
+ p = "userland l_fd_set *";
+ break;
+ case 4:
+ p = "userland struct l_timeval *";
+ break;
+ default:
+ break;
+ };
+ break;
/* flock */
case 143:
switch (ndx) {
@@ -4561,6 +4548,19 @@
/* linux_vfork */
case 189:
break;
+ /* linux_getrlimit */
+ case 190:
+ switch (ndx) {
+ case 0:
+ p = "l_uint";
+ break;
+ case 1:
+ p = "userland struct l_rlimit *";
+ break;
+ default:
+ break;
+ };
+ break;
/* linux_mmap2 */
case 192:
switch (ndx) {
@@ -7485,11 +7485,6 @@
if (ndx == 0 || ndx == 1)
p = "int";
break;
- /* linux_getrlimit */
- case 76:
- if (ndx == 0 || ndx == 1)
- p = "int";
- break;
/* getrusage */
case 77:
if (ndx == 0 || ndx == 1)
@@ -7515,11 +7510,6 @@
if (ndx == 0 || ndx == 1)
p = "int";
break;
- /* linux_select */
- case 82:
- if (ndx == 0 || ndx == 1)
- p = "int";
- break;
/* linux_symlink */
case 83:
if (ndx == 0 || ndx == 1)
@@ -7709,6 +7699,11 @@
if (ndx == 0 || ndx == 1)
p = "int";
break;
+ /* linux_select */
+ case 142:
+ if (ndx == 0 || ndx == 1)
+ p = "int";
+ break;
/* flock */
case 143:
if (ndx == 0 || ndx == 1)
@@ -7912,6 +7907,11 @@
break;
/* linux_vfork */
case 189:
+ /* linux_getrlimit */
+ case 190:
+ if (ndx == 0 || ndx == 1)
+ p = "int";
+ break;
/* linux_mmap2 */
case 192:
if (ndx == 0 || ndx == 1)
diff --git a/sys/powerpc/linux/syscalls.master b/sys/powerpc/linux/syscalls.master
--- a/sys/powerpc/linux/syscalls.master
+++ b/sys/powerpc/linux/syscalls.master
@@ -322,12 +322,7 @@
struct l_rlimit *rlim
);
}
-76 AUE_GETRLIMIT STD {
- int linux_getrlimit(
- l_uint resource,
- struct l_rlimit *rlim
- );
- }
+76 AUE_NULL UNIMPL linux_old_getrlimit
77 AUE_GETRUSAGE NOPROTO {
int getrusage(
int who,
@@ -358,15 +353,7 @@
l_gid_t *grouplist
);
}
-82 AUE_SELECT STD {
- int linux_select(
- l_int nfds,
- l_fd_set *readfds,
- l_fd_set *writefds,
- l_fd_set *exceptfds,
- struct l_timeval *timeout
- );
- }
+82 AUE_NULL UNIMPL linux_old_select
83 AUE_SYMLINK STD {
int linux_symlink(
char *path,
@@ -626,7 +613,15 @@
l_uint count
);
}
-142 AUE_NULL UNIMPL linux__newselect
+142 AUE_SELECT STD {
+ int linux_select(
+ l_int nfds,
+ l_fd_set *readfds,
+ l_fd_set *writefds,
+ l_fd_set *exceptfds,
+ struct l_timeval *timeout
+ );
+ }
143 AUE_FLOCK NOPROTO {
int flock(
int fd,
@@ -899,7 +894,12 @@
189 AUE_VFORK STD {
int linux_vfork(void);
}
-190 AUE_NULL UNIMPL linux_ugetrlimit
+190 AUE_GETRLIMIT STD {
+ int linux_getrlimit(
+ l_uint resource,
+ struct l_rlimit *rlim
+ );
+ }
191 AUE_NULL UNIMPL linux_readahead
192 AUE_MMAP STD {
int linux_mmap2(

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 2, 11:54 AM (19 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42141169
Default Alt Text
D62273.1796212481.diff (19 KB)

Event Timeline