diff options
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/lib/brand/lx/lx_brand/common/lx_brand.c | 35 | ||||
-rw-r--r-- | usr/src/lib/brand/lx/lx_brand/i386/lx_handler.s | 5 | ||||
-rw-r--r-- | usr/src/uts/common/brand/lx/sys/lx_brand.h | 2 |
3 files changed, 39 insertions, 3 deletions
diff --git a/usr/src/lib/brand/lx/lx_brand/common/lx_brand.c b/usr/src/lib/brand/lx/lx_brand/common/lx_brand.c index 19a56d25f8..f3c0f9a0ea 100644 --- a/usr/src/lib/brand/lx/lx_brand/common/lx_brand.c +++ b/usr/src/lib/brand/lx/lx_brand/common/lx_brand.c @@ -1233,4 +1233,39 @@ static struct lx_sysent sysents[] = { {"tee", NULL, NOSYS_NULL, 0}, /* 315 */ {"vmsplice", NULL, NOSYS_NULL, 0}, /* 316 */ {"move_pages", NULL, NOSYS_NULL, 0}, /* 317 */ + {"getcpu", NULL, NOSYS_NULL, 0}, /* 318 */ + {"epoll_pwait", NULL, NOSYS_NULL, 0}, /* 319 */ + {"utimensat", NULL, NOSYS_NULL, 0}, /* 320 */ + {"signalfd", NULL, NOSYS_NULL, 0}, /* 321 */ + {"timerfd_create", NULL, NOSYS_NULL, 0}, /* 322 */ + {"eventfd", NULL, NOSYS_NULL, 0}, /* 323 */ + {"fallocate", NULL, NOSYS_NULL, 0}, /* 324 */ + {"timerfd_settime", NULL, NOSYS_NULL, 0}, /* 325 */ + {"timerfd_gettime", NULL, NOSYS_NULL, 0}, /* 326 */ + {"signalfd4", NULL, NOSYS_NULL, 0}, /* 327 */ + {"eventfd2", NULL, NOSYS_NULL, 0}, /* 328 */ + {"epoll_create1", NULL, NOSYS_NULL, 0}, /* 329 */ + {"dup3", NULL, NOSYS_NULL, 0}, /* 330 */ + {"pipe2", NULL, NOSYS_NULL, 0}, /* 331 */ + {"inotify_init1", NULL, NOSYS_NULL, 0}, /* 332 */ + {"preadv", NULL, NOSYS_NULL, 0}, /* 333 */ + {"pwritev", NULL, NOSYS_NULL, 0}, /* 334 */ + {"rt_tgsigqueueinfo", NULL, NOSYS_NULL, 0}, /* 335 */ + {"perf_event_open", NULL, NOSYS_NULL, 0}, /* 336 */ + {"recvmmsg", NULL, NOSYS_NULL, 0}, /* 337 */ + {"fanotify_init", NULL, NOSYS_NULL, 0}, /* 338 */ + {"fanotify_mark", NULL, NOSYS_NULL, 0}, /* 339 */ + {"prlimit64", NULL, NOSYS_NULL, 0}, /* 340 */ + {"name_to_handle_at", NULL, NOSYS_NULL, 0}, /* 341 */ + {"open_by_handle_at", NULL, NOSYS_NULL, 0}, /* 342 */ + {"clock_adjtime", NULL, NOSYS_NULL, 0}, /* 343 */ + {"syncfs", NULL, NOSYS_NULL, 0}, /* 344 */ + {"sendmmsg", NULL, NOSYS_NULL, 0}, /* 345 */ + {"setns", NULL, NOSYS_NULL, 0}, /* 346 */ + {"process_vm_readv", NULL, NOSYS_NULL, 0}, /* 347 */ + {"process_vm_writev", NULL, NOSYS_NULL, 0}, /* 348 */ + {"kcmp", NULL, NOSYS_NULL, 0}, /* 349 */ + {"finit_module", NULL, NOSYS_NULL, 0}, /* 350 */ + {"sched_setattr", NULL, NOSYS_NULL, 0}, /* 351 */ + {"sched_getattr", NULL, NOSYS_NULL, 0}, /* 352 */ }; diff --git a/usr/src/lib/brand/lx/lx_brand/i386/lx_handler.s b/usr/src/lib/brand/lx/lx_brand/i386/lx_handler.s index 413ef9852d..795149d76f 100644 --- a/usr/src/lib/brand/lx/lx_brand/i386/lx_handler.s +++ b/usr/src/lib/brand/lx/lx_brand/i386/lx_handler.s @@ -21,10 +21,9 @@ /* * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * Copyright 2014 Joyent, Inc. All rights reserved. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/asm_linkage.h> #include <sys/regset.h> #include <sys/segments.h> @@ -127,12 +126,14 @@ lx_sigreturn_tolibc(uintptr_t sp) ENTRY_NP(lx_handler_trace_table) TJMP256 TJMP64 + TJMP64 SET_SIZE(lx_handler_trace_table) .align 16 ENTRY_NP(lx_handler_table) JMP256 JMP64 + JMP64 SET_SIZE(lx_handler_table) ENTRY_NP(lx_handler_trace) diff --git a/usr/src/uts/common/brand/lx/sys/lx_brand.h b/usr/src/uts/common/brand/lx/sys/lx_brand.h index c71c3b8032..7cc61c5440 100644 --- a/usr/src/uts/common/brand/lx/sys/lx_brand.h +++ b/usr/src/uts/common/brand/lx/sys/lx_brand.h @@ -59,7 +59,7 @@ extern "C" { #define LX_LIB_PATH LIB_PATH LX_LIB #define LX_NSYSCALLS_2_4 270 -#define LX_NSYSCALLS_2_6 317 +#define LX_NSYSCALLS_2_6 352 #define LX_NSYSCALLS LX_NSYSCALLS_2_6 /* |