freebsd-nq/sys/kern
Jamie Gritton 0a2a96f35a jail: Don't allow jails under dying parents
If a jail is created with jail_set(...JAIL_DYING), and it has a parent
currently in a dying state, that will bring the parent jail back to
life.  Restrict that to require that the parent itself be explicitly
brought back first, and not implicitly created along with the new
child jail.

Differential Revision:	https://reviews.freebsd.org/D28515
2021-02-22 17:04:06 -08:00
..
bus_if.m
capabilities.conf
clock_if.m
cpufreq_if.m
device_if.m
firmw.S
genassym.sh
genoffset.c
genoffset.sh
imgact_aout.c
imgact_binmisc.c
imgact_elf32.c
imgact_elf64.c
imgact_elf.c Fix divide-by-zero panic when ASLR is enabled and superpages disabled 2021-02-15 10:38:04 -08:00
imgact_shell.c
init_main.c Use atomic loads/stores when updating td->td_state 2021-02-18 14:02:48 +00:00
init_sysent.c Reserve gaps in syscall numbers for local use 2021-01-26 18:27:45 +00:00
kern_acct.c
kern_alq.c
kern_clock.c
kern_clocksource.c
kern_condvar.c
kern_conf.c Giant: move back Giant removal until 14 2021-02-17 14:33:09 -07:00
kern_cons.c
kern_context.c
kern_cpu.c
kern_cpuset.c
kern_ctf.c
kern_descrip.c jail: Change both root and working directories in jail_attach(2) 2021-02-19 14:13:35 -08:00
kern_dtrace.c
kern_dump.c
kern_environment.c
kern_et.c
kern_event.c
kern_exec.c
kern_exit.c
kern_fail.c
kern_ffclock.c
kern_fork.c jail: Handle a possible race between jail_remove(2) and fork(2) 2021-02-16 11:19:13 -08:00
kern_hhook.c
kern_idle.c
kern_intr.c Use atomic loads/stores when updating td->td_state 2021-02-18 14:02:48 +00:00
kern_jail.c jail: Don't allow jails under dying parents 2021-02-22 17:04:06 -08:00
kern_kcov.c
kern_khelp.c
kern_kthread.c
kern_ktr.c
kern_ktrace.c
kern_linker.c
kern_lock.c lockmgr: shrink struct lock by 8 bytes on LP64 2021-02-15 13:57:25 +00:00
kern_lockf.c
kern_lockstat.c
kern_loginclass.c
kern_malloc.c malloc_aligned: roundup allocation size up to next power of two 2021-01-21 23:34:10 +02:00
kern_mbuf.c
kern_mib.c
kern_module.c
kern_mtxpool.c
kern_mutex.c
kern_ntptime.c
kern_osd.c
kern_physio.c
kern_pmc.c
kern_poll.c
kern_priv.c
kern_proc.c procstat: distinguish vm map guards in procstat vm output. 2021-02-14 03:24:58 +02:00
kern_procctl.c
kern_prot.c Use atomic loads/stores when updating td->td_state 2021-02-18 14:02:48 +00:00
kern_racct.c Use atomic loads/stores when updating td->td_state 2021-02-18 14:02:48 +00:00
kern_rangelock.c
kern_rctl.c
kern_resource.c
kern_rmlock.c
kern_rwlock.c
kern_sdt.c
kern_sema.c
kern_sendfile.c
kern_sharedpage.c
kern_shutdown.c
kern_sig.c
kern_switch.c
kern_sx.c
kern_synch.c Use atomic loads/stores when updating td->td_state 2021-02-18 14:02:48 +00:00
kern_syscalls.c
kern_sysctl.c
kern_tc.c Add ddb 'show timecounter' command. 2021-01-18 09:51:48 +02:00
kern_thr.c
kern_thread.c Use atomic loads/stores when updating td->td_state 2021-02-18 14:02:48 +00:00
kern_time.c
kern_timeout.c
kern_tslog.c
kern_ubsan.c
kern_umtx.c
kern_uuid.c
kern_xxx.c
ksched.c
link_elf_obj.c
link_elf.c
linker_if.m
Make.tags.inc
Makefile
makesyscalls.sh
md4c.c
md5c.c
msi_if.m
p1003_1b.c
pic_if.m
posix4_mib.c
sched_4bsd.c Use atomic loads/stores when updating td->td_state 2021-02-18 14:02:48 +00:00
sched_ule.c
serdev_if.m
stack_protector.c
subr_acl_nfs4.c
subr_acl_posix1e.c
subr_atomic64.c
subr_autoconf.c
subr_blist.c
subr_boot.c
subr_bufring.c
subr_bus_dma.c
subr_bus.c devinfo sysctl handler: Do not write zero-length strings in to sbuf twice 2021-01-21 02:06:16 +03:00
subr_busdma_bufalloc.c
subr_capability.c
subr_clock.c
subr_compressor.c
subr_counter.c
subr_coverage.c
subr_csan.c
subr_devmap.c ddb: fix show devmap output on 32-bit arm 2021-02-18 11:53:14 -04:00
subr_devstat.c
subr_disk.c
subr_dummy_vdso_tc.c
subr_early.c
subr_epoch.c
subr_eventhandler.c
subr_fattime.c
subr_filter.c
subr_firmware.c firmware(9): extend firmware_get() by a "no warn" flag. 2021-01-27 13:51:26 +00:00
subr_gtaskqueue.c
subr_hash.c
subr_hints.c
subr_intr.c make maximum interrupt number tunable on ARM, ARM64, MIPS, and RISC-V 2021-01-18 16:36:39 -08:00
subr_kdb.c
subr_kobj.c
subr_lock.c lockmgr: shrink struct lock by 8 bytes on LP64 2021-02-15 13:57:25 +00:00
subr_log.c
subr_mchain.c
subr_module.c
subr_msgbuf.c
subr_param.c
subr_pcpu.c
subr_pctrie.c
subr_physmem.c
subr_pidctrl.c
subr_power.c
subr_prf.c kvprintf(9): add missing FALLTHROUGH 2021-01-22 00:18:40 +01:00
subr_prng.c
subr_prof.c
subr_rangeset.c
subr_rman.c
subr_rtc.c
subr_sbuf.c
subr_scanf.c
subr_sfbuf.c
subr_sglist.c
subr_sleepqueue.c
subr_smp.c
subr_smr.c
subr_stack.c
subr_stats.c
subr_syscall.c
subr_taskqueue.c
subr_terminal.c
subr_trap.c
subr_turnstile.c Use atomic loads/stores when updating td->td_state 2021-02-18 14:02:48 +00:00
subr_uio.c
subr_unit.c
subr_vmem.c
subr_witness.c
sys_capability.c
sys_eventfd.c
sys_generic.c poll: use fget_unlocked or fget_only_user when feasible 2021-01-29 11:23:44 +00:00
sys_getrandom.c
sys_pipe.c
sys_procdesc.c
sys_process.c
sys_socket.c aio: micro-optimize the lio_opcode assignments 2021-01-20 09:02:25 -07:00
syscalls.c Reserve gaps in syscall numbers for local use 2021-01-26 18:27:45 +00:00
syscalls.master Reserve gaps in syscall numbers for local use 2021-01-26 18:27:45 +00:00
systrace_args.c
sysv_ipc.c
sysv_msg.c jail: Change the locking around pr_ref and pr_uref 2021-02-21 10:55:44 -08:00
sysv_sem.c jail: Change the locking around pr_ref and pr_uref 2021-02-21 10:55:44 -08:00
sysv_shm.c jail: Change the locking around pr_ref and pr_uref 2021-02-21 10:55:44 -08:00
tty_compat.c
tty_info.c
tty_inq.c
tty_outq.c
tty_pts.c
tty_tty.c
tty_ttydisc.c
tty.c
uipc_accf.c
uipc_debug.c
uipc_domain.c
uipc_ktls.c Add Chacha20-Poly1305 as a KTLS cipher suite. 2021-02-18 09:26:32 -08:00
uipc_mbuf2.c
uipc_mbuf.c m_uiotombuf_nomap(): Stop clearing PG_ZERO in newly allocated pages 2021-02-22 10:04:46 -05:00
uipc_mbufhash.c
uipc_mqueue.c jail: Change the locking around pr_ref and pr_uref 2021-02-21 10:55:44 -08:00
uipc_sem.c
uipc_shm.c
uipc_sockbuf.c Revert "SO_RERROR indicates that receive buffer overflows should be handled as errors." 2021-02-08 22:32:32 +00:00
uipc_socket.c kern: sonewconn: set so_options before pru_attach() 2021-02-08 21:44:43 -06:00
uipc_syscalls.c
uipc_usrreq.c Use VOP_VPUT_PAIR() for eligible VFS syscalls. 2021-02-12 03:02:20 +02:00
vfs_acl.c
vfs_aio.c aio: micro-optimize the lio_opcode assignments 2021-01-20 09:02:25 -07:00
vfs_bio.c buf SU hooks: track buf_start() calls with B_IOSTARTED flag 2021-02-12 03:02:19 +02:00
vfs_cache.c cache: assorted comment fixups 2021-02-09 17:09:44 +01:00
vfs_cluster.c vnode: move write cluster support data to inodes. 2021-02-21 11:38:21 +02:00
vfs_default.c vfs: add vfs_ref_from_vp 2021-02-21 00:43:05 +00:00
vfs_export.c
vfs_extattr.c
vfs_hash.c
vfs_init.c
vfs_lookup.c cache: add symlink support to lockless lookup 2021-01-23 15:04:43 +00:00
vfs_mount.c vfs: add vfs_ref_from_vp 2021-02-21 00:43:05 +00:00
vfs_mountroot.c
vfs_subr.c vnode: move write cluster support data to inodes. 2021-02-21 11:38:21 +02:00
vfs_syscalls.c vfs: employ vfs_ref_from_vp in statfs and fstatfs 2021-02-21 00:43:05 +00:00
vfs_vnops.c lockf: ensure atomicity of lockf for open(O_CREAT|O_EXCL|O_EXLOCK) 2021-02-18 01:22:05 +02:00
vnode_if.src Add VOP_VPUT_PAIR() with trivial default implementation. 2021-02-12 03:02:20 +02:00