freebsd-skq/sys/kern
Edward Tomasz Napierala 3b9971c8da Clean up some of the core dumping code.
No functional changes.

Reviewed By:	kib
Sponsored By:	EPSRC
Differential Revision:	https://reviews.freebsd.org/D30397
2021-05-25 16:30:32 +01:00
..
bus_if.m
capabilities.conf Add aio_writev and aio_readv 2021-01-02 19:57:58 -07:00
clock_if.m
cpufreq_if.m
device_if.m
firmw.S Use a template assembly file for firmware object files. 2020-12-17 20:31:17 +00:00
genassym.sh
genoffset.c
genoffset.sh
imgact_aout.c Get rid of sv_errtbl and SV_ABI_ERRNO(). 2020-09-17 11:39:33 +00:00
imgact_binmisc.c imgact_binmisc: limit the extent of match on incoming entries 2020-11-08 04:24:29 +00:00
imgact_elf32.c
imgact_elf64.c
imgact_elf.c Refactor core dumping code a bit 2021-05-22 09:59:00 +01:00
imgact_shell.c
init_main.c Stop arming kqueue timers on knote owner suspend or terminate 2021-04-09 23:43:51 +03:00
init_sysent.c regen syscall files after d51198d63b63 2021-05-13 14:09:58 -04:00
kern_acct.c accounting: explicitly mark the exiting thread as doing accounting 2021-05-22 15:16:08 +03:00
kern_alq.c
kern_clock.c
kern_clocksource.c
kern_condvar.c
kern_conf.c Fix several dev_clone callbacks to avoid out-of-bounds reads 2021-03-28 11:08:36 -04:00
kern_cons.c Remove sysctl_kern_consmute() 2020-10-05 15:54:19 +00:00
kern_context.c
kern_cpu.c
kern_cpuset.c domainset: Define additional global policies 2021-04-14 13:03:33 -04:00
kern_ctf.c
kern_descrip.c ktrace: pack all ktrace parameters into allocated structure ktr_io_params 2021-05-22 15:16:08 +03:00
kern_dtrace.c dtrace: stop using eventhandlers for the part compiled into the kernel 2020-11-23 18:27:21 +00:00
kern_dump.c Always use 64-bit physical addresses for dump_avail[] in minidumps 2020-12-03 17:12:31 +00:00
kern_environment.c Move kernel env global variables, etc to sys/kenv.h 2020-10-07 06:16:37 +00:00
kern_et.c Remove NO_EVENTTIMERS support 2020-11-19 02:50:48 +00:00
kern_event.c kqueue timer: Remove detached knotes from the process stop queue 2021-05-14 10:08:14 -04:00
kern_exec.c Clean up some of the core dumping code. 2021-05-25 16:30:32 +01:00
kern_exit.c ptrace: add an option to not kill debuggees on debugger exit 2021-05-25 18:22:34 +03:00
kern_fail.c
kern_ffclock.c
kern_fork.c fork: Suspend other threads if both RFPROC and RFMEM are not set 2021-05-13 08:33:23 -04:00
kern_hhook.c
kern_idle.c
kern_intr.c Use the word "LinuxKPI" instead of "Linux compatibility", to not confuse with 2021-03-10 12:35:16 +01:00
kern_jail.c Fix buffer overflow in preloaded hostuuid cleaning 2021-05-17 20:07:49 -07:00
kern_kcov.c Generalize bus_space(9) and atomic(9) sanitizer interceptors 2021-03-22 22:21:53 -04:00
kern_khelp.c
kern_kthread.c Set TDP_KTHREAD before calling cpu_fork() and cpu_copy_thread(). 2021-03-12 09:48:20 -08:00
kern_ktr.c
kern_ktrace.c ktrace: Remove vrele() at the end of ktr_writerequest() 2021-05-23 14:13:01 -04:00
kern_linker.c Minor style cleanup 2021-04-18 11:14:17 -06:00
kern_lock.c lockprof: pass lock type as an argument instead of reading the spin flag 2021-05-23 17:55:27 +00:00
kern_lockf.c
kern_lockstat.c
kern_loginclass.c Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
kern_malloc.c realloc: Fix KASAN(9) shadow map updates 2021-05-05 17:12:51 -04:00
kern_mbuf.c mbuf: enable ext_pgs ("unmapped") mbufs by default 2021-01-08 13:43:30 -05:00
kern_mib.c jail: Consistently handle the pr_allow bitmask 2020-12-26 20:25:02 -08:00
kern_module.c
kern_mtxpool.c
kern_mutex.c lockprof: pass lock type as an argument instead of reading the spin flag 2021-05-23 17:55:27 +00:00
kern_ntptime.c Add kern_ntp_adjtime(9). 2020-12-04 18:56:44 +00:00
kern_osd.c
kern_physio.c Minor style tidy: if( -> if ( 2021-04-18 11:19:15 -06:00
kern_pmc.c
kern_poll.c
kern_priv.c jail: Consistently handle the pr_allow bitmask 2020-12-26 20:25:02 -08:00
kern_proc.c ktrace: pack all ktrace parameters into allocated structure ktr_io_params 2021-05-22 15:16:08 +03: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 rctl(4): support throttling resource usage to 0 2021-01-11 15:36:57 -08:00
kern_resource.c vm_map_protect: allow to set prot and max_prot in one go. 2021-01-13 01:35:22 +02:00
kern_rmlock.c rmlock(9): add an RM_DUPOK flag 2021-04-12 11:42:21 -03:00
kern_rwlock.c lockprof: pass lock type as an argument instead of reading the spin flag 2021-05-23 17:55:27 +00:00
kern_sdt.c
kern_sema.c
kern_sendfile.c Fix handling of errors from pru_send(PRUS_NOTREADY) 2021-05-21 17:45:19 -04:00
kern_sharedpage.c random(4) FenestrasX: Push root seed version to arc4random(3) 2020-10-10 21:52:00 +00:00
kern_shutdown.c Add an option for entering KDB on recursive panics 2020-11-19 18:03:40 +00:00
kern_sig.c Add ptrace(PT_COREDUMP) 2021-05-03 19:18:26 +03:00
kern_switch.c
kern_sx.c lockprof: pass lock type as an argument instead of reading the spin flag 2021-05-23 17:55:27 +00:00
kern_synch.c Use atomic loads/stores when updating td->td_state 2021-02-18 14:02:48 +00:00
kern_syscalls.c Move syscall_thread_{enter,exit}() into the slow path. This is only 2020-11-08 15:54:59 +00:00
kern_sysctl.c sysctl_handle_string: do not malloc when SYSCTL_IN cannot fault 2021-04-19 21:32:01 +03:00
kern_tc.c kern: clarify boot time 2021-05-05 12:32:13 -06:00
kern_thr.c Provide ABI modules hooks for process exec/exit and thread exit. 2020-11-23 17:29:25 +00:00
kern_thread.c ktrace: pack all ktrace parameters into allocated structure ktr_io_params 2021-05-22 15:16:08 +03:00
kern_time.c posix timers: Check for overflow when converting to ns 2021-05-13 08:34:03 -04:00
kern_timeout.c Balance parentheses in sysctl descriptions 2021-04-11 10:30:55 +02:00
kern_tslog.c
kern_ubsan.c
kern_umtx.c umtx: convert umtxq_lock to a macro 2021-05-22 21:01:05 +00:00
kern_uuid.c
kern_xxx.c
ksched.c
link_elf_obj.c link_elf_obj: Add a case missing from 5e6989ba4f 2021-03-16 15:01:41 -04:00
link_elf.c vm_map_protect: allow to set prot and max_prot in one go. 2021-01-13 01:35:22 +02:00
linker_if.m
Make.tags.inc
Makefile
makesyscalls.sh
md4c.c
md5c.c
msi_if.m o Add iommu de-initialization method for MSI interface. 2020-10-24 20:09:27 +00:00
p1003_1b.c
pic_if.m
posix4_mib.c
sched_4bsd.c lockprof: pass lock type as an argument instead of reading the spin flag 2021-05-23 17:55:27 +00:00
sched_ule.c sched: fix an incorrect comparison in sched_lend_user_prio_cond 2020-11-15 01:54:44 +00:00
serdev_if.m
stack_protector.c
subr_acl_nfs4.c Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
subr_acl_posix1e.c
subr_asan.c kasan: Use vm_offset_t for the first parameter to kasan_shadow_map() 2021-04-29 11:39:02 -04:00
subr_atomic64.c
subr_autoconf.c config_intrhook: provide config_intrhook_drain 2021-03-11 09:45:10 -07:00
subr_blist.c
subr_boot.c
subr_bufring.c
subr_bus_dma.c Move the iommu stubs to a generic place, so they are available on all the 2020-10-23 21:27:48 +00:00
subr_bus.c newbus: style nit (align comments) 2021-04-21 15:37:24 -06:00
subr_busdma_bufalloc.c
subr_capability.c
subr_clock.c
subr_compressor.c
subr_counter.c Rationalize per-cpu zones. 2020-11-05 15:08:56 +00:00
subr_coverage.c Generalize bus_space(9) and atomic(9) sanitizer interceptors 2021-03-22 22:21:53 -04:00
subr_csan.c Generalize sanitizer interceptors for memory and string routines 2021-03-24 19:46:22 -04:00
subr_devmap.c ddb: fix show devmap output on 32-bit arm 2021-02-18 11:53:14 -04:00
subr_devstat.c Speed up geom_stats_resync in the presence of many devices 2021-03-02 18:33:45 -07:00
subr_disk.c Enable bioq 'car limit' added at r335066 at 128 bios. 2020-10-26 04:04:06 +00:00
subr_dummy_vdso_tc.c
subr_early.c
subr_epoch.c The old thread priority must be stored as part of the EPOCH(9) tracker. 2021-05-23 10:53:25 +02:00
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 Import kernel WireGuard support 2020-11-29 19:38:03 +00:00
subr_hash.c
subr_hints.c Move kernel env global variables, etc to sys/kenv.h 2020-10-07 06:16:37 +00:00
subr_intr.c kern/intr: declare interrupt vectors unsigned 2021-05-03 13:24:30 -04:00
subr_kdb.c sysctl: improve debug.kdb.panic_str description 2021-01-09 11:10:42 -07:00
subr_kobj.c newbus: Optimize/Simplify kobj_class_compile_common a little 2021-04-21 15:37:24 -06:00
subr_lock.c lockprof: move panic check after inspecting the state 2021-05-23 17:55:27 +00:00
subr_log.c
subr_mchain.c
subr_module.c sysctl debug.dump_modinfo should recognize font module 2021-01-08 09:24:49 +02:00
subr_msgbuf.c
subr_param.c Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
subr_pcpu.c Add more per-cpu zones. 2020-11-09 00:34:23 +00:00
subr_pctrie.c
subr_physmem.c Add support for hw.physmem tunable for ARM/ARM64/RISC-V platforms 2020-12-03 05:39:27 +00:00
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 x86: remove gcov kernel support 2021-04-02 15:41:51 +03:00
subr_rangeset.c
subr_rman.c
subr_rtc.c Address whitespace nits in subr_rtc.c 2020-09-28 17:19:57 +00:00
subr_sbuf.c sbuf_uionew(): sbuf_new() takes int as length 2021-04-14 10:23:20 +03:00
subr_scanf.c
subr_sfbuf.c
subr_sglist.c
subr_sleepqueue.c Add sleepq_remove_nested() 2021-05-03 19:13:47 +03:00
subr_smp.c smp: Initialize arg->cpus sooner in smp_rendezvous_cpus_retry() 2021-05-03 13:24:30 -04:00
subr_smr.c
subr_stack.c
subr_stats.c stats(3): Improve t-digest merging of samples which result in mu adjustment underflow. 2021-04-02 13:17:53 +11:00
subr_syscall.c Allow some VOPs to return ERELOOKUP to indicate VFS operation restart at top level. 2020-11-13 09:42:32 +00:00
subr_taskqueue.c
subr_terminal.c
subr_trap.c sigfastblock: do not skip cursig/postsig loop in ast() 2021-01-12 12:45:26 +02:00
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 vmem: Revert r364744 2020-12-01 16:06:31 +00:00
subr_witness.c Remove more remnants of sio(4) 2021-04-07 14:33:02 -04:00
sys_capability.c
sys_eventfd.c Expose eventfd in the native API/ABI using a new __specialfd syscall 2020-12-27 12:57:26 +02:00
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 pipe: Avoid calling selrecord() on a closing pipe 2021-04-28 10:43:29 -04:00
sys_procdesc.c procdesc: convert the zone to a malloc type 2020-11-09 00:05:21 +00:00
sys_process.c sys_process.c: extract ptrace_unsuspend() 2021-05-25 18:22:27 +03:00
sys_socket.c Re-enable network ioctls in capability mode 2021-04-23 09:22:49 -04: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 regen syscall files after d51198d63b63 2021-05-13 14:09:58 -04:00
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 Minor style cleanup 2021-04-18 11:14:17 -06:00
tty_pts.c
tty_tty.c
tty_ttydisc.c
tty.c ttydev_write: prevent stops while terminal is busied 2021-05-18 20:52:03 +03:00
uipc_accf.c accept_filter: Fix filter parameter handling 2021-03-25 17:55:46 -04:00
uipc_debug.c
uipc_domain.c
uipc_ktls.c ktls: Hide initialization message behind bootverbose 2021-03-05 13:11:02 -05:00
uipc_mbuf2.c
uipc_mbuf.c mbuf: add a way to mark flowid as calculated from the internal headers 2021-03-31 14:38:26 +03:00
uipc_mbufhash.c Implement mbuf hashing routines for IP over infiniband, IPoIB. 2020-10-22 09:17:56 +00:00
uipc_mqueue.c jail: Change the locking around pr_ref and pr_uref 2021-02-21 10:55:44 -08:00
uipc_sem.c Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
uipc_shm.c Constify vm_pager-related virtual tables. 2021-05-07 17:08:03 +03:00
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 Fix handling of errors from pru_send(PRUS_NOTREADY) 2021-05-21 17:45:19 -04:00
uipc_syscalls.c base: remove if_wg(4) and associated utilities, manpage 2021-03-17 09:14:48 -05:00
uipc_usrreq.c capsicum: Limit socket operations in capability mode 2021-04-07 14:32:56 -04:00
vfs_acl.c
vfs_aio.c open(2): Implement O_PATH 2021-04-15 12:48:24 +03:00
vfs_bio.c amd64: Implement a KASAN shadow map 2021-04-13 17:42:20 -04:00
vfs_cache.c cache: fix lockless absolute symlink traversal to non-fp mounts 2021-05-11 04:30:12 +00:00
vfs_cluster.c Minor style tidy: if( -> if ( 2021-04-18 11:19:15 -06:00
vfs_default.c vfs: add missing atomic conversion to writecount adjustment 2021-05-14 17:42:05 +02:00
vfs_export.c
vfs_extattr.c
vfs_hash.c vfs: avoid exposing partially constructed vnodes 2020-09-05 00:26:03 +00:00
vfs_init.c
vfs_lookup.c vfs: fix vnode use count leak in O_EMPTY_PATH support 2021-05-13 09:39:27 +00:00
vfs_mount.c mount: Disallow mounting over a jail root 2021-04-06 14:49:36 -04:00
vfs_mountroot.c Minor style tidy: if( -> if ( 2021-04-18 11:19:15 -06:00
vfs_subr.c vfs: retire the now unused vnlru_free routine 2021-05-22 18:42:30 +00:00
vfs_syscalls.c vfs: elide vnode locking when it is only needed for audit if possible 2021-05-23 19:37:16 +00:00
vfs_vnops.c Fix limit testing after 1762f674cc ktrace commit. 2021-05-22 20:18:21 +00:00
vnode_if.src Add VOP_VPUT_PAIR() with trivial default implementation. 2021-02-12 03:02:20 +02:00