Module Name:src
Committed By: kamil
Date: Tue Mar 13 13:34:40 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.h
Log Message:
Add a new function in ATF t_ptrace_wait*: await_zombie_raw()
Add await_zombie_raw() that is the same as await_zombie(), whith an
add
Module Name:src
Committed By: kamil
Date: Tue Mar 13 14:45:36 UTC 2018
Modified Files:
src/tests/lib/libc/sys: msg.h
Log Message:
ATF t_ptrace_wait*: Disable debug messages in msg.h
msg.h is a dummy IPC interface.
Disable additional debugging logging here, especially wan
Module Name:src
Committed By: kamil
Date: Tue Mar 13 14:54:13 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
ATF: Add new test race1 in t_ptrace_wait*
Reuse the attach1's test body for race1.
Add a new test race1:
Assert that await_zombie
Module Name:src
Committed By: kamil
Date: Wed Mar 14 02:13:47 UTC 2018
Modified Files:
src/distrib/sets/lists/debug: mi
src/distrib/sets/lists/tests: mi
src/tests/kernel: Makefile
Added Files:
src/tests/kernel: t_zombie.c
Log Message:
Add new ATF te
Module Name:src
Committed By: kamil
Date: Sat Mar 24 00:06:32 UTC 2018
Modified Files:
src/tests/net/icmp: t_ping.c
Log Message:
Fix a printf(3)-like format in ATF ICMP t_ping.c
Use %zd for ssize_t, instead of %d.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -
Module Name:src
Committed By: kamil
Date: Sat Mar 24 00:26:51 UTC 2018
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/c++: Makefile t_cxxruntime.sh t_hello.sh
t_static_destructor.sh
Added Files:
src/tests/usr.bin/c++: t_call_o
Module Name:src
Committed By: kamil
Date: Sat Mar 24 01:45:22 UTC 2018
Modified Files:
src/sys/dev/scsipi: st.c
Log Message:
Revert previous commit in st.c in order to unbreak build
There are various build errors like:
/usr/src/sys/dev/scsipi/st.c: In function 'stattach':
Module Name:src
Committed By: kamil
Date: Sat Mar 31 14:24:54 UTC 2018
Modified Files:
src/lib/libc: Makefile
src/share/mk: bsd.own.mk
Log Message:
Drop the USE_LIBTRE build option
libtre cannot be used any more as a replacement for regex(3).
Tt does not build and
Module Name:src
Committed By: kamil
Date: Wed Apr 4 15:08:59 UTC 2018
Modified Files:
src/tests/usr.bin/c++: Makefile
Log Message:
Sort entries in ATF tests in tests/usr.bin/c++/Makefile
No functional change intended.
To generate a diff of this commit:
cvs rdiff -u -r1
Module Name:src
Committed By: kamil
Date: Wed Apr 4 15:53:04 UTC 2018
Modified Files:
src/tests/usr.bin/c++: Makefile
Log Message:
Correct a small regression typo in usr.bin/c++ ATF tests
TESTS_SH= changed to TESTS_SH+=
To generate a diff of this commit:
cvs rdiff -u -
Module Name:src
Committed By: kamil
Date: Wed Apr 4 16:42:48 UTC 2018
Modified Files:
src/distrib/sets/lists/tests: mi
Log Message:
Sort files in usr/tests/usr.bin/c++/
No functional change intended.
To generate a diff of this commit:
cvs rdiff -u -r1.778 -r1.779 src/d
Module Name:src
Committed By: kamil
Date: Wed Apr 4 23:51:35 UTC 2018
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/cc: Makefile
Added Files:
src/tests/usr.bin/cc: t_asan_double_free.sh
t_asan_global_buffer_overflow.sh t_asa
Module Name:src
Committed By: kamil
Date: Wed Apr 4 23:53:26 UTC 2018
Modified Files:
src/tests/usr.bin/c++: Makefile
Added Files:
src/tests/usr.bin/c++: t_asan_double_free.sh
t_asan_global_buffer_overflow.sh t_asan_heap_overflow.sh
t_asan_o
Module Name:src
Committed By: kamil
Date: Sun Apr 8 14:21:23 UTC 2018
Modified Files:
src/sys/arch/x86/x86: dbregs.c
Log Message:
Add paranoid code to X86 Debug Registers
Reset certain bits in DR6 and DR7 in x86_dbregs_setup_initdbstate().
Reset X86_BREAKPOINT_CONDITION
Module Name:src
Committed By: kamil
Date: Sun Apr 8 14:46:32 UTC 2018
Modified Files:
src/sys/kern: sys_ptrace_common.c
src/sys/secmodel/extensions: secmodel_extensions.c
Log Message:
Add new sysctl(3) entry: security.models.extensions.user_set_dbregs
Model this
Module Name:src
Committed By: kamil
Date: Sun Apr 8 17:20:18 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_x86_wait.h
Log Message:
Add check in ATF tests for security.models.extensions.user_set_dbregs
Introduce a new function can_we_set_dbregs() in the ATF pt
Module Name:src
Committed By: kamil
Date: Mon Apr 9 15:45:16 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Improve documentation of the ATF test t_ptrace_wait*: traceme2
Set the description to:
Verify that a signal emitted by a tracer t
Module Name:src
Committed By: kamil
Date: Tue Apr 10 00:09:31 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Merge code in tests: fork1 and vfork1 (ATF t_ptrace_wait*)
Marge bodies of two tests into the same function.
Add few checks for regu
Module Name:src
Committed By: kamil
Date: Tue Apr 10 00:40:35 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
ATF: ptrace: Merge code in fork2 and vfork2 tests with (v)fork1 ones
Reduce code duplication, use the same function body with condit
Module Name:src
Committed By: kamil
Date: Tue Apr 10 22:45:39 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
ATF t_ptrace_wait* refactoring: vforkdone1 and vforkdone2
Merge vforkdone1 and vforkdone2 into other fork tests and reuse the same
f
Module Name:src
Committed By: kamil
Date: Wed Apr 11 01:52:59 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Cover more fork/vfork/vforkdone scenarios in ATF ptrace(2) tests
Use a shared common body for all the tests: fork1..fork8, vfork1..v
Module Name:src
Committed By: kamil
Date: Wed Apr 11 03:25:25 UTC 2018
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/c++: Makefile
src/tests/usr.bin/cc: Makefile
Added Files:
src/tests/usr.bin/c++: t_asan_poison.sh
src/te
Module Name:src
Committed By: kamil
Date: Fri Apr 13 01:20:28 UTC 2018
Modified Files:
src/sys/modules/examples: Makefile README
Added Files:
src/sys/modules/examples/sysctl: Makefile sysctl.c
Log Message:
Add new example kernel module: sysctl
sysctl - demonstrate
Module Name:src
Committed By: kamil
Date: Fri Apr 13 20:30:09 UTC 2018
Modified Files:
src/sys/modules/examples: Makefile README
Added Files:
src/sys/modules/examples/executor: Makefile executor.c
Log Message:
Add a new example kernel module
executor - basic imple
Module Name:src
Committed By: kamil
Date: Sat Apr 14 14:26:20 UTC 2018
Modified Files:
src/sys/kern: kern_proc.c
Log Message:
Don't set errno ESRCH for empty result of KINFO_PROC[2]
Restore the previous behavior as it's prefered.
This new behavior was introduced in 1.210
Module Name:src
Committed By: kamil
Date: Sun Apr 15 00:19:23 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Refactor fork-like ATG tests in t_ptrace_wait*
Add CPP syntax sugare to define each fork-like test within a single line
of code with
Module Name:src
Committed By: kamil
Date: Sun Apr 15 03:25:25 UTC 2018
Modified Files:
src/sys/compat/linux/common: linux_sched.c
Log Message:
Remove unused variable p from linux_sys_clone()
After refactoring by in 2010 (r. 1.63) the p variable is no longer
used.
As not
Module Name:src
Committed By: kamil
Date: Mon Apr 16 14:18:16 UTC 2018
Modified Files:
src/sys/kern: init_main.c
Log Message:
Set initproc inside start_init()
This allows us to stop using the rnewprocp argument in fork1(9).
The rnewprocp argument will be removed soon fro
Module Name:src
Committed By: kamil
Date: Mon Apr 16 14:39:19 UTC 2018
Modified Files:
src/external/gpl2/gmake/dist/glob: glob.c
Log Message:
Fix build of gmake (in tools) on new GLIBC systems
Reported on Debian and Fedora.
Reference for similar fix:
https://lists.nongnu
Module Name:src
Committed By: kamil
Date: Mon Apr 16 14:52:00 UTC 2018
Modified Files:
src/share/man/man9: fork1.9
src/sys/compat/freebsd: freebsd_fork.c
src/sys/compat/linux/common: linux_sched.c
src/sys/kern: init_main.c kern_fork.c
src/sys
Module Name:src
Committed By: kamil
Date: Mon Apr 16 16:02:57 UTC 2018
Modified Files:
src/external/gpl2/gmake/dist/glob: glob.c
Log Message:
Revert previous glob.c change
It broke on !GLIBC.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl2/
Module Name:src
Committed By: kamil
Date: Fri Apr 20 00:06:45 UTC 2018
Modified Files:
src/sys/modules/examples: Makefile README
Added Files:
src/sys/modules/examples/readhappy_mpsafe: Makefile readhappy_mpsafe.c
test_readhappy.c
Log Message:
Add new ex
Module Name:src
Committed By: kamil
Date: Tue Apr 24 18:34:46 UTC 2018
Modified Files:
src/sys/kern: kern_sig.c
Log Message:
Remove unused code branch in the signal code
Remove the ppsig argument from proc_stop_done() and from sigswitch().
This functionality was used in
Module Name:xsrc
Committed By: kamil
Date: Wed Apr 25 18:55:19 UTC 2018
Modified Files:
xsrc/external/mit/xkeyboard-config/dist/symbols: pl
Log Message:
Fix the Polish keymap in xkeyboard-config
Cherry-pick a patch from upstream BugZilla
Bug 104904 - Polish symbols file
Module Name:src
Committed By: kamil
Date: Fri Apr 27 16:50:57 UTC 2018
Modified Files:
src/sys/kern: sys_ptrace_common.c
Log Message:
Correct XXX comment in the ptrace(2) kernel code
Explain I and D read/write operations and its history, removing dummy XXX
comments.
Spon
Module Name:src
Committed By: kamil
Date: Fri Apr 27 21:36:45 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Refactor the traceme1 and traceme4 ATF ptrace(2) tests
Use common bode for these tests and a macro 1-liner to define a new test.
Te
Module Name:src
Committed By: kamil
Date: Sat Apr 28 00:14:37 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Refactor the traceme2 ATF ptrace(2) tests
Replace traceme2 with 3 tests:
- traceme_sighandler_catch1
- traceme_sighandler_catch2
Module Name:src
Committed By: kamil
Date: Sat Apr 28 17:56:55 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.h
Log Message:
Handle core dumps in ATF ptrace(2) tests easier
Cast WCOREDUMP() to either 1 or 0.
It could be changed to a boolean type, but it's
Module Name:src
Committed By: kamil
Date: Sat Apr 28 18:07:15 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Refactor the traceme3 ATF ptrace(2) test
Replace traceme3 with new ATF tests using diverse signals:
- traceme_signal_nohandler1 SI
Module Name:src
Committed By: kamil
Date: Sat Apr 28 19:00:26 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Enable traceme_raise1 in the ATF ptrace(2) tests
This test checks raise(SIGKILL). If we enter the kernel with this signal
we report
Module Name:src
Committed By: kamil
Date: Sun Apr 29 04:28:10 UTC 2018
Modified Files:
src/sys/kern: sys_ptrace_common.c
Log Message:
Harden the NetBSD PT_TRACE_ME operation
You can't say to the parent of a process to start tracing if:
(1) the parent is initproc,
Module Name:src
Committed By: kamil
Date: Sun Apr 29 13:56:01 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace.c t_ptrace_wait.c
Log Message:
Add two new ptrace(2) ATF tests
Added:
- traceme_pid1_parent
Assert that a process cannot mark its parent a debugger
Module Name:src
Committed By: kamil
Date: Tue May 1 13:48:38 UTC 2018
Modified Files:
src/sys/kern: kern_sig.c
Log Message:
Improve the proc_stoptrace() function
proc_stoptrace() is dedicated for emitting a syscall trap for a debugger,
either on entry or exit of the syst
Module Name:src
Committed By: kamil
Date: Tue May 1 14:09:53 UTC 2018
Modified Files:
src/sys/kern: sys_ptrace_common.c
Log Message:
Add additional hardening in PT_TRACE_ME and PT_ATTACH
Prohibit:
- calling PT_TRACE_ME by initproc (PID1),
- calling PT_ATTACH by initpro
ork[1-8] tests pass.
Fix PR kern/51630 by Kamil Rytarowski (myself).
Sponsored by
To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/lib/libc/sys/ptrace.2
cvs rdiff -u -r1.204 -r1.205 src/sys/kern/kern_fork.c
cvs rdiff -u -r1.341 -r1.342 src/sys/kern/kern_sig.c
cvs rdiff -u -
Module Name:src
Committed By: kamil
Date: Tue May 1 23:41:51 UTC 2018
Modified Files:
src/distrib/sets/lists/man: mi
Log Message:
Register a missing file in the distribution sets
Add ./usr/share/man/cat3lua/netpgp.0 for cat-pages.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: kamil
Date: Wed May 2 18:46:05 UTC 2018
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/c++: Makefile
src/tests/usr.bin/cc: Makefile
Added Files:
src/tests/usr.bin/c++: t_ubsan_int_add_overflow.sh
Module Name:src
Committed By: kamil
Date: Thu May 3 17:01:09 UTC 2018
Modified Files:
src/share/misc: acronyms
Log Message:
Register new acronym in wtf(6)
VLCvariable length array
Noted by
To generate a diff of this commit:
cvs rdiff -u -r1.266 -r1.267 src/share/
Module Name:src
Committed By: kamil
Date: Thu May 3 17:03:20 UTC 2018
Modified Files:
src/share/misc: acronyms
Log Message:
Fix VLC -> VLA
To generate a diff of this commit:
cvs rdiff -u -r1.267 -r1.268 src/share/misc/acronyms
Please note that diffs are not public doma
Module Name:src
Committed By: kamil
Date: Fri May 4 12:26:53 UTC 2018
Modified Files:
src/tests/usr.bin/cc: t_ubsan_vla_out_of_bounds.sh
Log Message:
Explain VLA in t_ubsan_vla_out_of_bounds.sh (ATF test)
VLA - Variable Length Array
Requested by
To generate a diff of
Module Name:src
Committed By: kamil
Date: Fri May 4 12:27:58 UTC 2018
Modified Files:
src/tests/usr.bin/c++: t_ubsan_vla_out_of_bounds.sh
Log Message:
Explain VLA in c++/t_ubsan_vla_out_of_bounds.sh (ATF test)
VLA - Variable Length Array
Requested by
To generate a di
Module Name:src
Committed By: kamil
Date: Fri May 4 12:51:18 UTC 2018
Modified Files:
src/tests/usr.bin/c++: t_ubsan_int_add_overflow.sh
t_ubsan_int_divzero.sh t_ubsan_int_neg_overflow.sh
t_ubsan_int_sub_overflow.sh t_ubsan_vla_out_of_bounds.sh
Log
Module Name:src
Committed By: kamil
Date: Fri May 4 14:15:42 UTC 2018
Modified Files:
src/distrib/sets/lists/man: mi
Log Message:
Register a new cat page: libbozohttpd.0
Fix build of the distribution with MKCATPAGES=yes.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: kamil
Date: Fri May 4 14:23:19 UTC 2018
Modified Files:
src/distrib/sets/lists/man: mi
Log Message:
Improve the category of libbozohttpd.0 in distribution sets
It's man-sys-catman, not man-netutil-catman.
To generate a diff of this commit:
Module Name:src
Committed By: kamil
Date: Sun May 6 13:40:52 UTC 2018
Modified Files:
src/sys/compat/aoutm68k: aoutm68k_exec.c
src/sys/compat/freebsd: freebsd_exec.c
src/sys/compat/ibcs2: ibcs2_exec.c
src/sys/compat/linux/common: linux_exec.c
Module Name:src
Committed By: kamil
Date: Tue May 8 16:37:59 UTC 2018
Modified Files:
src/bin/ksh: c_ksh.c c_sh.c emacs.c eval.c exec.c expand.h expr.c
history.c io.c lex.c mail.c main.c misc.c syn.c table.c trap.c
tree.c var.c vi.c
Log Message:
St
Module Name:src
Committed By: kamil
Date: Sun May 13 23:01:25 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.h t_ptrace_x86_wait.h
Log Message:
Refactor code in ATF ptrace(2) tests
Move the can_we_set_dbregs() auxiliary function from t_ptrace_x86_wait.h
to
Module Name:src
Committed By: kamil
Date: Sun May 13 23:14:48 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace.c t_ptrace_amd64_wait.h
t_ptrace_wait.c
Log Message:
Add a new ptrace(2) ATF exploit for: CVE-2018-8897 (POP SS debug exception)
The origina
Module Name:src
Committed By: kamil
Date: Mon May 14 12:42:34 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_amd64_wait.h
Log Message:
Simplify the x86_64_cve_2018_8897 ATF ptrace(2) test
Do not call _exit() from the child, ad this code shall not be reached.
Pu
Module Name:src
Committed By: kamil
Date: Mon May 14 12:44:40 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace.c
Log Message:
Revert previous change in t_ptrace.c
By a mistake this file started to include
This is not needed.
The include was intended to be add j
Module Name:src
Committed By: kamil
Date: Wed May 16 00:42:16 UTC 2018
Modified Files:
src/sys/kern: kern_sig.c
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Correct handling of: vfork(2) + PT_TRACE_ME + raise(2)
Follow the FreeBSD approach of not routing s
Module Name:src
Committed By: kamil
Date: Wed May 16 01:27:27 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Add a new ATF ptrace(2) test: traceme_vfork_breakpoint
Verify software breakpoint in a vfork(2)ed child.
The expected behavior is n
Module Name:src
Committed By: kamil
Date: Wed May 16 01:36:29 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Improve the description of traceme_vfork_raise in ATF ptrace(2) tests
Set new description to:
- "Verify PT_TRACE_ME followed by rai
Module Name:src
Committed By: kamil
Date: Wed May 16 02:47:25 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Add a new ATF ptrace(2) test: traceme_vfork_exec
Verify PT_TRACE_ME followed by exec(3) in a vfork(2)ed child.
This tests passes co
Module Name:src
Committed By: kamil
Date: Wed May 16 03:18:38 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Improve the description of traceme_vfork_breakpoint (ATF ptrace(2) test)
Sponsored by
To generate a diff of this commit:
cvs rdif
Module Name:src
Committed By: kamil
Date: Wed May 16 03:52:35 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Add extra asserts in three ATF ptrace(2) tests
In traceme* tests after validate_status_stopped() include additional check
the verify
Module Name:src
Committed By: kamil
Date: Fri May 18 00:25:30 UTC 2018
Modified Files:
src/tests/kernel: t_zombie.c
Log Message:
Correct assert in ATF t_zombie test
A failure is reported with -1, not 1.
Sponsored by
To generate a diff of this commit:
cvs rdiff -u -r1.
Module Name:src
Committed By: kamil
Date: Fri May 18 06:39:59 UTC 2018
Modified Files:
src/distrib/sets/lists/debug: mi
src/distrib/sets/lists/tests: mi
src/tests/lib/libc/sys: Makefile
Added Files:
src/tests/lib/libc/sys: t_fork.c t_vfork.c
Log Mes
Module Name:src
Committed By: kamil
Date: Sat May 19 02:42:59 UTC 2018
Modified Files:
src/sys/kern: kern_sig.c
src/tests/lib/libc/sys: t_fork.c
Log Message:
Stop masking SIGSTOP in a vfork(2)ed child
Keep the traditional BSD behavior masking SIGTSTP, SIGTTIN and
Module Name:src
Committed By: kamil
Date: Sat May 19 05:01:42 UTC 2018
Modified Files:
src/sys/kern: kern_sig.c
Log Message:
Stop masking raise(SIGSTOP) in a vfork(2)ed child that called PT_TRACE_ME.
Sponsored by
To generate a diff of this commit:
cvs rdiff -u -r1.345
Module Name:src
Committed By: kamil
Date: Sat May 19 05:04:09 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.h
Log Message:
Add new auxiliary functions in t_ptrace_wait.h
New functions:
- FORKEE_ASSERT_NEQ()
- await_stopped_child()
Both will be used soo
Module Name:src
Committed By: kamil
Date: Sat May 19 05:07:42 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Enable traceme_vfork_raise2 in ATF ptrace(2) tests
raise(SIGSTOP) is now handled correctly by the kernel, in a child that
vfork(2)ed
Module Name:src
Committed By: kamil
Date: Sat May 19 05:10:16 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_fork.c
Log Message:
Reflect reality in the comment
The watcher process is emitting SIGKILL, not SIGTERM.
Sponsored by
To generate a diff of this commit:
cv
Module Name:src
Committed By: kamil
Date: Sat May 19 05:25:21 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Cover SIGTSTP, SIGTTIN and SIGTTOU in traceme_vfork_raise ATF tests
SIGTSTP, SIGTTIN and SIGTTOU are special case signals ignored in
Module Name:src
Committed By: kamil
Date: Sat May 19 05:39:21 UTC 2018
Modified Files:
src/lib/libc/sys: vfork.2
Log Message:
Note in vfork(2) that SIGTSTP is masked
SIGSTOP is no longer masked, but it was never documented.
Sponsored by
To generate a diff of this comm
Module Name:src
Committed By: kamil
Date: Sun May 20 03:51:32 UTC 2018
Modified Files:
src/sys/kern: sys_ptrace_common.c
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Fix and enable traceme_signal_nohandler2 in ATF ptrace(2) tests
traceme_signal_nohandler2
Module Name:src
Committed By: kamil
Date: Sun May 20 04:00:35 UTC 2018
Modified Files:
src/sys/kern: kern_sig.c sys_ptrace_common.c
src/sys/sys: signalvar.h
Log Message:
Make stopsigmask a non-static symbol now as it's used in ptrace(2) code
This is a missing part
Module Name:src
Committed By: kamil
Date: Sun May 20 23:47:16 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Refactor and enable the signal3 ATF ptrace(2) test
Adapt the test to be independent from the software breakpoint trap
behavior, whet
Module Name:src
Committed By: kamil
Date: Mon May 21 08:49:03 UTC 2018
Modified Files:
src/tests/kernel: h_segv.c t_trapsignal.sh
Log Message:
Add new ATF test: t_trapsignal:trap_ignore
Test ignored trap with right exit code.
This test passes.
Sponsored by
To generat
Module Name:src
Committed By: kamil
Date: Tue May 22 03:07:50 UTC 2018
Modified Files:
src/lib/libc/sys: sigaction.2
Log Message:
Minor improvement in sigaction(2)
Note that SIGCHLD covers process continued event.
Sponsored by
To generate a diff of this commit:
cvs rd
Module Name:src
Committed By: kamil
Date: Tue May 22 04:32:56 UTC 2018
Modified Files:
src/tests/kernel: h_segv.c t_trapsignal.sh
Log Message:
Extend ATF tests in t_trapsignal.sh to verify software breakpoint traps
There are at least four types of SIGTRAP events:
- softw
Module Name:src
Committed By: kamil
Date: Tue May 22 02:31:57 UTC 2018
Modified Files:
src/share/man/man7: signal.7
Log Message:
Minor update to signal(7)
Note that SIGCHLD is not just a child exit signal.
Note that SIGIOT is PDP-11 specific signal.
Sponsored by
To ge
Module Name:src
Committed By: kamil
Date: Tue May 22 10:48:06 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Add new ATF ptrace(2) tests: traceme_sendsignal_{masked,ignored}[1-3]
These tests emit signal from a tracer/parent to the child and
Module Name:src
Committed By: kamil
Date: Tue May 22 21:03:09 UTC 2018
Modified Files:
src/sys/arch/i386/include: ptrace.h
Log Message:
Define PTRACE_BREAKPOINT_ASM for i386 in the MD part of
x86 uses int3 for software breakpoint on i386 and amd64.
Sponsored by
To ge
Module Name:src
Committed By: kamil
Date: Wed May 23 01:29:43 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Refactor the attach[1-8] and race1 ATF t_ptrace_wait* tests
Share code in: attach1, attach2 and race1 in the same function body.
Ren
Module Name:src
Committed By: kamil
Date: Wed May 23 11:14:49 UTC 2018
Modified Files:
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common:
sanitizer_linux.cc
Log Message:
Cherry-pick upstream patch for internal_mmap() in GCC sanitizers
Fix internal_mmap(
Module Name:src
Committed By: kamil
Date: Wed May 23 11:16:13 UTC 2018
Modified Files:
src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common:
sanitizer_linux.cc
Log Message:
Cherry-pick upstream patch for internal_mmap() in GCC(.old) sanitizers
Fix inte
Module Name:src
Committed By: kamil
Date: Wed May 23 13:18:09 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.h
Log Message:
Add new auxiliary functions in ATF ptrace(2) tests
Introduce:
- trigger_trap()
- trigger_segv()
- trigger_ill()
- trigger_fpe()
Module Name:src
Committed By: kamil
Date: Wed May 23 13:51:28 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Extend traceme_vfork_breakpoint in ATF ptrace(2) tests for more scenarios
traceme_vfork_breakpoint used to test SIGTRAP event. Reuse
Module Name:src
Committed By: kamil
Date: Wed May 23 23:56:08 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Merge the eventmask[1-6] ATF ptrace(2) tests into a shared function body
While there, rename the tests to:
- eventmask_preserved_em
Module Name:src
Committed By: kamil
Date: Thu May 24 08:28:40 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.h
Log Message:
Try to fix 32-bit build
Cast pointer to uintptr_t rather than uintmax_t.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1
Module Name:src
Committed By: kamil
Date: Sat May 26 15:15:17 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.h
Log Message:
Introduce can_we_write_to_text() to ATF ptrace(2) tests
The purpose of this function is to detect whether a tracer can write to the
Module Name:src
Committed By: kamil
Date: Sat May 26 15:32:31 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Refactor the PT_WRITE*/PT_READ* and PIOD_* ATF ptrace(2) tests
Merge all the PT_WRITE*/PT_READ* and PIOD_* the test cases into the c
Module Name:src
Committed By: kamil
Date: Sat May 26 18:18:19 UTC 2018
Modified Files:
src/sys/compat/netbsd32: netbsd32_sysctl.c
Log Message:
Handle vm.maxaddress in compat_netbsd32(8)
Return VM_MAXUSER_ADDRESS32 instead of the 64-bit specific address.
Use CTLTYPE_INT i
Module Name:src
Committed By: kamil
Date: Sat May 26 20:27:48 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_amd64_wait.h t_ptrace_x86_wait.h
Log Message:
Port the CVE 2018-8897 mitigation to i386 ATF ptrace(2) tests
On i386 there is no need to switch execution
Module Name:src
Committed By: kamil
Date: Sat May 26 21:07:47 UTC 2018
Modified Files:
src/sys/compat/netbsd32: netbsd32_sysctl.c
Log Message:
Fix sysctl(3):vm.minaddress in compat_netbsd32(8)
Cast minaddress from LP64-specific long (64-bit) to 32-bit long (int).
This va
Module Name:src
Committed By: kamil
Date: Sun May 27 08:08:24 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Fix ATF ptrace(2) bytes_transfer_piod_read_auxv test
Make the initial buffer larger to stop triggering the runtime assert about
its
Module Name:src
Committed By: kamil
Date: Sun May 27 17:04:45 UTC 2018
Modified Files:
src/tests/kernel: h_segv.c t_trapsignal.sh
Log Message:
Handle FPE and BUS scenarios in the ATF t_trapsignal tests
These crash signals are crucial for proper handling of abnormal condit
Module Name:src
Committed By: kamil
Date: Sun May 27 17:16:39 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.h
Log Message:
Try to fool $CC harder in ATF ptrace(2) tests in trigger_fpe()
A function that returns a value that is not used, can be optimized ou
Module Name:src
Committed By: kamil
Date: Mon May 28 11:15:48 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Drop trailing white space
To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/tests/lib/libc/sys/t_ptrace_wait.c
Ple
101 - 200 of 1437 matches
Mail list logo