Print this page
OS-5673 move some "simple" syscalls in-kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5607 lxbrand move unixbench syscalls to IKE
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5545 lxbrand move mount(2) emulation into kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Ryan Zezeski <ryan.zezeski@joyent.com>
OS-5583 lxbrand convert lseek to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5480 zvol device resets mode/grp on reboot, breaks MapR
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5451 comm page should not break i86xpv
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5410 move access into kernel
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5356 su reports getcwd() error in LX zone
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
OS-5259 lxbrand mmap(2) should heed personality
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Cody Mello <melloc@joyent.com>
OS-3925 lxbrand in-kernel link(2) and linkat(2)
OS-5094 lxbrand link to symlink failure
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4104 lxbrand convert stat syscalls to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4665 LX brand want devfs which allows symlinks to devices in root of /dev
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Alex Wilson <alex.wilson@joyent.com>
OS-4830 lxbrand convert select/poll to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-4680 lxbrand use IKE close(2) when AIO not present
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4695 lxbrand move epoll_create in-kernel
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4637 lxbrand can't handle the auxv truth
OS-4640 lxbrand centos is sensitive about auxv contents
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Alex Wilson <alex.wilson@joyent.com>
OS-4002 ionice requirements not met on lx ubuntu64 14.04.003
OS-4587 lx: ubuntu 15.04 - Failed at step IOPRIO spawning /bin/systemd-tmpfiles: Function not implemented
OS-4571 lxbrand allow manipulation of uname release and version
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4474 lxbrand missing prctl(PR_SET_PDEATHSIG) support
OS-4476 lxbrand convert prctl to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4475 rkt run needs syncfs
OS-4469 journald needs fallocate(2) syscall
OS-4398 lxbrand async connect(3) should appear more successful
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
OS-4323 stub out cgroup fs
OS-4320 lxbrand convert getdents to IKE
OS-4282 lxbrand segfault in lx_getdents
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-4256 centos 7 systemd stops after failing to mount sysfs
OS-4115 lxbrand expose getrandom(2)
OS-4098 move open, close and fcntl into the kernel
OS-4084 getrlimit kills performance, move into kernel
OS-4082 move remaining vsyscall/vdso functions into the kernel
OS-3892 lxbrand mispronounces ENOLCK and ENOSTR
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3926 lxbrand in-kernel fchownat(2), fchown(2), lchown(2), chown(2) and 16-bit ID counterparts
OS-3920 lxbrand use native *at(2) system calls for LX emulation
OS-3955 lxbrand in-kernel clock_gettime(2)
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3924 lxbrand in-kernel mkdir(2) and mkdirat(2)
OS-3920 lxbrand use native *at(2) system calls for LX emulation
OS-3923 lxbrand in-kernel chmod(2), fchmod(2) and fchmodat(2)
OS-3920 lxbrand use native *at(2) system calls for LX emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-3561 lxbrand emulation library should execute on alternate stack
OS-3558 lxbrand add support for full in-kernel syscall handling
OS-3545 lx_syscall_regs should not walk stack
OS-3868 many LTP testcases now hang
OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3820 lxbrand ptrace(2): the next generation
OS-3685 lxbrand PTRACE_O_TRACEFORK race condition
OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI
OS-3794 lxbrand panic on init signal death
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
OS-3613 lxbrand convert ioctl to IKE
OS-3532 lx has trouble listing interfaces in java
OS-3576 lxbrand race in ioctl(FIONBIO) emulation
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
OS-3551 lxbrand read syscall path is 1/2 the speed of native
OS-3137 lxbrand pipe does not pollnotify when end is closed
OS-2834 ship lx brand
        
*** 19,29 ****
  # CDDL HEADER END
  #
  
  #
  # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
! # Copyright (c) 2013, Joyent, Inc. All rights reserved.
  # Copyright 2016 Nexenta Systems, Inc.
  #
  
  #
  #       This Makefile defines all file modules and build rules for the
--- 19,29 ----
  # CDDL HEADER END
  #
  
  #
  # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
! # Copyright 2016, Joyent, Inc.
  # Copyright 2016 Nexenta Systems, Inc.
  #
  
  #
  #       This Makefile defines all file modules and build rules for the
*** 34,43 ****
--- 34,44 ----
  #
  #       Core (unix) objects
  #
  CORE_OBJS +=            \
          arch_kdi.o      \
+         comm_page_util.o \
          copy.o          \
          copy_subr.o     \
          cpc_subr.o      \
          ddi_arch.o      \
          ddi_i86.o       \
*** 99,108 ****
--- 100,133 ----
  #       file system modules
  #
  CORE_OBJS +=            \
          prmachdep.o
   
+ LX_CGROUP_OBJS +=       \
+         cgrps_node.o    \
+         cgrps_vfsops.o  \
+         cgrps_vnops.o
+ 
+ LX_DEVFS_OBJS +=        \
+         lxd_attrdb.o    \
+         lxd_node.o      \
+         lxd_vfsops.o    \
+         lxd_vnops.o
+ 
+ LX_PROC_OBJS += \
+         lx_prsubr.o     \
+         lx_prvfsops.o   \
+         lx_prvnops.o
+ 
+ LX_SYS_OBJS +=  \
+         lx_syssubr.o    \
+         lx_sysvfsops.o  \
+         lx_sysvnops.o
+ 
+ LX_AUTOFS_OBJS +=       \
+         lx_autofs.o
+ 
  #
  #       ZFS file system module
  #
  ZFS_OBJS +=             \
          spa_boot.o
*** 262,271 ****
--- 287,355 ----
  #
  #       Brand modules
  #
  SN1_BRAND_OBJS  =       sn1_brand.o sn1_brand_asm.o
  S10_BRAND_OBJS  =       s10_brand.o s10_brand_asm.o
+ LX_BRAND_OBJS  =                \
+         lx_access.o             \
+         lx_aio.o                \
+         lx_archdep.o            \
+         lx_auxv.o               \
+         lx_brand.o              \
+         lx_brk.o                \
+         lx_chmod.o              \
+         lx_chown.o              \
+         lx_clone.o              \
+         lx_close.o              \
+         lx_cpu.o                \
+         lx_dup.o                \
+         lx_errno.o              \
+         lx_epoll.o              \
+         lx_fadvise.o            \
+         lx_fallocate.o          \
+         lx_fcntl.o              \
+         lx_futex.o              \
+         lx_getcwd.o             \
+         lx_getdents.o           \
+         lx_getpid.o             \
+         lx_getrandom.o          \
+         lx_id.o                 \
+         lx_ioctl.o              \
+         lx_ioprio.o             \
+         lx_kill.o               \
+         lx_link.o               \
+         lx_lseek.o              \
+         lx_misc.o               \
+         lx_miscsys.o            \
+         lx_mkdir.o              \
+         lx_modify_ldt.o         \
+         lx_mount.o              \
+         lx_open.o               \
+         lx_personality.o        \
+         lx_pgrp.o               \
+         lx_pid.o                \
+         lx_pipe.o               \
+         lx_poll.o               \
+         lx_prctl.o              \
+         lx_ptrace.o             \
+         lx_rename.o             \
+         lx_rlimit.o             \
+         lx_rw.o                 \
+         lx_sched.o              \
+         lx_signal.o             \
+         lx_signum.o             \
+         lx_socket.o             \
+         lx_stat.o               \
+         lx_sync.o               \
+         lx_syscall.o            \
+         lx_sysinfo.o            \
+         lx_thread_area.o        \
+         lx_timer.o              \
+         lx_umask.o              \
+         lx_uname.o              \
+         lx_wait.o               \
+         lx_xattr.o
  
  #
  #       special files
  #
  MODSTUB_OBJ +=          \