sevan
7226fd0ff8
mdocify
2020-06-24 18:06:01 +00:00
jdolecek
039c10d987
reduce stack usage in compat_60_ptmget_ioctl() - allocate struct ptmget
...
via kmem_alloc()
2020-06-24 17:47:52 +00:00
riastradh
88d5cead87
Note that -h is an extension to POSIX. Bump date.
2020-06-24 17:00:58 +00:00
riastradh
7f9ee4a0a0
New mv -h option.
...
`mv -h source target' just issues rename(source, target) without
discriminating on whether target resolves to a directory; this way
you can atomically replace a symlink to a directory.
2020-06-24 16:58:12 +00:00
uwe
00da1c7eff
Try not to lose error output with --error-output.
...
Try to avoid the trap we set up ourselves while avoiding freopen(3).
When exit flushes and closes open streams it may close sfp first and
when it comes about to flush and close stderr, the descriptor is
already gone and we lose any buffered error output. This actually
happens on some hosts, breaking --trace output used by autoconf.
2020-06-24 16:49:30 +00:00
jdolecek
ce67beced2
reduce stack usage in dsl_scan_recurse() - allocate memory for
...
temporary zbookmark_phys_t using kmem_alloc() rather than stack;
this recuses several times usually, and this saves 2x
sizeof(zbookmark_phys_t) == 64 bytes per recursion
part of fix for PR kern/55402 by Frank Kardel
2020-06-24 16:29:34 +00:00
jdolecek
41a612de4f
change dsl_scan_visitbp() to allocate blkptr_t dynamically rather than
...
on-stack - this function is called recursively, and the 120 bytes per call
add up; also remove unused variable
part of fix for PR kern/55402 by Frank Kardel
2020-06-24 16:23:16 +00:00
jdolecek
5964fe3b97
reduce stack usage in vdev_queue_io_to_issue() - zio_t is about 1KB, and
...
the function potentially recurses into itself
part of fix for PR kern/55402 by Frank Kardel
2020-06-24 16:16:01 +00:00
martin
daa128b211
Add input files
2020-06-24 15:05:45 +00:00
martin
4c5da4561c
Fix directories
2020-06-24 14:48:47 +00:00
uwe
3ed307aae1
Regen: Add AC_MSG_RESULT yes/no to the uio checks.
2020-06-24 14:44:44 +00:00
uwe
6072166471
Add AC_MSG_RESULT yes/no to the uio checks.
2020-06-24 14:39:01 +00:00
jdolecek
632d3e3518
fix tyop in KASSERT() condition which made it an assignment rather than a check
...
the field indeed is supposed to be set to GRANT_INVALID_REF at this moment,
the grant must be already revoked by this time
pointed out by Taylor R Campbell
2020-06-24 14:33:08 +00:00
thorpej
492187ea09
Fix pasto; use {,U}LLONG{MIN,MAX} correctly in the {u,}llong{min,max}
...
range checks.
PR lib/55414
2020-06-24 14:28:10 +00:00
simonb
f9650ca6cf
Redo cnmac attachments - cnmacM @ gmxN @ pip0 @ iobus
...
Missed one file - thanks martin@.
2020-06-24 12:43:40 +00:00
jruoho
547814cf8b
Also install new tests.
2020-06-24 12:31:26 +00:00
roy
a0253f6c5f
Ensure sockaddrs have valid lengths for RO_MISSFILTER.
...
Thanks to maxv@ for spotting this.
2020-06-24 12:27:51 +00:00
jruoho
319465cf55
As bin/55344 was fixed, note the flags also in rc.conf(5).
2020-06-24 10:30:43 +00:00
jdolecek
3e5fbb6583
remove special handling for symbolic links for COMPAT_43 lstat, it's
...
not necessary; this removes the only places in kernel which did namei
LOOKUP with LOCKPARENT
fixes diagnostic KASSERT() in namei() code
Reported-by: syzbot+628382ecf1438e53d08d@syzkaller.appspotmail.com
2020-06-24 10:28:16 +00:00
jruoho
08daf067e8
Fix references in comments.
2020-06-24 10:07:13 +00:00
jruoho
55d0ca692c
Check that fstat(1) works (cf. PR kern/55407).
2020-06-24 10:05:07 +00:00
jruoho
3f1bde296f
Add a few checks for stdethers(8) and stdhosts(8).
2020-06-24 09:47:17 +00:00
jruoho
d60b9b731a
Add few basic tests for cpuctl(8). These cover PR kern/45117 and PR bin/54220.
...
Though, the former is not explicitly tested as it hangs the system.
2020-06-24 09:32:41 +00:00
jruoho
27ee1d2935
Add a test case for bin/54620.
2020-06-24 09:21:43 +00:00
jruoho
6ecb6de692
Add a test case for PR bin/55389.
2020-06-24 09:11:26 +00:00
ryo
a3484637e6
Fix bug with incorrect range calculation when doing icache sync.
...
This is called by sysarch(ARM_SYNC_ICACHE) from aarch32 (compat_netbsd32) emul process.
pointed out by rin@, thanks.
XXX pullup-9
2020-06-24 08:27:47 +00:00
wiz
bc3f8a62e1
New sentence, new line. Fix macro arguments. Improve Nd.
...
Remove superfluous Pp. Other minor cleanups.
2020-06-24 08:20:13 +00:00
rin
f01e01eb6a
errno is irrelevant here.
2020-06-24 07:02:57 +00:00
rin
bc51181201
Fix random failures for pty_queue test.
...
Setting queue size by TIOCSQSIZE ioctl does not guarantee that data of
that size can be read by single shot of read(2).
Remove assertion based on this assertion, while total amount of data
read from child process is still checked appropriately.
2020-06-24 06:15:40 +00:00
rin
5e62095eac
Turn err() into atf_tc_fail_errno() for parent process, so that
...
atf can catch failures correctly.
2020-06-24 05:59:18 +00:00
rin
c57c4e528d
PR bin/55411 (Akihiko HAYASHI)
...
Remove stray ``&&'' introduced in the previous revision, so that
host tools are correctly passed to configure script.
No similar problem for gcc.old. No release branches are affected.
2020-06-24 05:06:08 +00:00
rin
f340ec0453
Fix core_dump_procinfo tests for powerpc, for which child process was
...
stalled indefinitely in trap instruction even after PT_CONTINUE.
For powerpc, program counter is not automatically incremented by trap
instruction. We cannot increment PC in the trap handler, which breaks
applications depending on this behavior, e.g., GDB.
Therefore, we need to pass (PC + 4) instead of (void *)1 (== PC) to
PT_CONTINUE when child process traps itself.
2020-06-24 04:47:10 +00:00
thorpej
439c7faabc
Add amdccp at pci.
2020-06-24 03:38:54 +00:00
thorpej
92390bd178
Add a PCI front-end for the "amdccp" (AMD Cryptographic Coprocessor)
...
driver.
2020-06-24 03:38:01 +00:00
thorpej
9ea6bd48ee
Regen.
2020-06-24 03:35:29 +00:00
thorpej
27b9bc745a
Add a couple of additional device IDs for the AMD Cryptographic Coprocessor.
2020-06-24 03:35:07 +00:00
rin
5d002ee84c
Fix prefix for previous.
2020-06-23 21:34:44 +00:00
maxv
521e747162
Hum. Fix NULL deref triggerable with just write(0).
...
Reported-by: syzbot+45b31355bf880e175b73@syzkaller.appspotmail.com
2020-06-23 18:30:17 +00:00
maxv
e2cfaf39d0
Rename __MD_CANONICAL_BASE -> __MD_KERNMEM_BASE for clarity.
2020-06-23 17:21:55 +00:00
maxv
61584588ce
kernel_sanitizers.7
2020-06-23 16:08:46 +00:00
msaitoh
b08ea1183c
Regen.
2020-06-23 14:35:59 +00:00
msaitoh
6705c5b537
Add some Microsemi (Vitesse) devices.
2020-06-23 14:35:36 +00:00
wiz
c6cc6b9db4
Use Nm.
2020-06-23 14:08:01 +00:00
nia
44bd074d70
cgdconfig.8: remove references to using cgd for swap
...
this is potentially misleading now that the kernel does swap encryption
2020-06-23 13:23:56 +00:00
nia
4e9ba6e816
cgdconfig.8: Reflect actual behaviour of /dev/(u)random
2020-06-23 13:20:14 +00:00
martin
a9db28a254
Make this work on big endian machines
2020-06-23 10:09:33 +00:00
martin
4a198ac36d
Pass the name of the compressor actually used for sets to groff and use
...
it in the content description (XXX need to adapt a few more copies in,
as of now, unaffected architectures)
2020-06-23 06:28:01 +00:00
msaitoh
7ee9bc8a0e
KNF. No functional change.
2020-06-23 05:50:01 +00:00
simonb
a754707195
Support EdgeRouter 4.
...
Only set RGMII timing params on boards with RGMII.
2020-06-23 05:19:12 +00:00
simonb
8acfb7e9c3
Add support for a very simple output-only console so early printf() can work.
...
Minor tweaks, remove some unused code.
2020-06-23 05:18:43 +00:00