Commit Graph

268372 Commits

Author SHA1 Message Date
kamil 80b70339c3 regen tools/compat 2019-06-19 23:35:55 +00:00
kamil 08fadea744 Add more SunOS types to tools/compat
Add fallback defintions of: uchar_t, ushort_t, uint_t, ulong_t.

Needed by the libctf code on Ubuntu 16.x.
2019-06-19 23:33:07 +00:00
kamil 2a9047bf45 Add an explicit node that lwp status numbers are set in stone
Requested by <mrg>
2019-06-19 21:39:53 +00:00
kamil 41a1344d4e Add a fallback definition of LSDEAD in ps(1)
The symbol is no longer available in headers.

Requested by <mrg>
2019-06-19 21:25:50 +00:00
uwe b84ea9c460 Small markup fixes. 2019-06-19 20:20:52 +00:00
martin d2aaad127e Deal with manualy set disk geometries more carefully to avoid a division
by zero.
2019-06-19 17:32:31 +00:00
maya 75dd5856df Match the regular _ksiginfo size since sys/sys/siginfo.h:1.33
"Expand siginfo_t (struct size not changed) to new values for
SIGTRAP TRAP_SCE/TRAP_SCX events."

Fixes port-mips/54309: gdb doesn't work on mips64 (32bit userland,
64bit kernel)
2019-06-19 16:14:07 +00:00
jmcneill dcbe944a80 HCSPARAMS2.SPR is bit 26, not 24 2019-06-19 15:10:17 +00:00
pgoyette e30b8a7c9d In case of error resolving symbol references, we cannot rely on the
module's name still being available - it may be destroyed when
kobj_affix() unloads the object.  So make a copy of the name first
so we can use it in a useful error message.

(Without this, I've have affix errors go into an infinite loop
trying to print the error message!)
2019-06-19 15:01:01 +00:00
kamil 75d0f3a753 Correct wrong type of uio_seg passed to do_sys_mknodat()
It was introduced by an accident in previous commit to this file.

Detected by syzbot:
https://syzkaller.appspot.com/text?tag=CrashLog&x=16635d9ea00000
2019-06-19 14:16:06 +00:00
jmcneill 6d1e093494 Conditionally use a 32- or 64-bit DMA tag based on HCCPARAMS 2019-06-19 13:40:23 +00:00
jmcneill e85f76fe51 Provide a 64-bit dma tag and use a coherent tag unless CCA=0 2019-06-19 13:39:18 +00:00
christos cc833a4d7d use __nothing 2019-06-19 12:55:01 +00:00
isaki b365545885 Don't call next callout when an error occurs in start_output. 2019-06-19 12:52:41 +00:00
isaki 7844a17cf5 pad(4)'s output format is LE even on big endian arch. 2019-06-19 12:51:26 +00:00
isaki f2eeaac104 Don't wait until a block is filled.
This improves that short sound breaks.
2019-06-19 12:49:49 +00:00
skrll f144d2a709 Once more short line to unwrap 2019-06-19 10:04:40 +00:00
skrll dd7deb8f88 Unwrap short lines. NFCI. 2019-06-19 10:00:19 +00:00
skrll ba6c36b14b Make a comment generic and not MIPS specific 2019-06-19 09:56:17 +00:00
skrll 063afa579e Whitespace and whitespace consistency 2019-06-19 09:55:27 +00:00
skrll 97e1fde8d1 Update a comment 2019-06-19 09:54:42 +00:00
skrll b962be7051 Whitespace 2019-06-19 09:54:15 +00:00
skrll fa20f9a22c KNF and add a comment 2019-06-19 09:53:39 +00:00
hannken 1c4272293a Sync with upstream r315983. 2019-06-19 08:18:01 +00:00
msaitoh 85c29668e1 Fix ioapic_dump_raw() to dump whole ioapic area. 2019-06-19 06:32:46 +00:00
mrg 20e775836e fix access to any busses that may appear beyond the bus the 4x slot see.
only the root bus and the slot's bus are limited to device = 0.
2019-06-19 05:33:14 +00:00
mrg 88f8fbed82 add several cortex CPU implementations found in their TRMs:
- A32 R1 (aarch32 only, not supported)
- A35 R1
- A65 R0
- A76AE R1
- A77

add the aarch64 ones to cpu.c for identification.
2019-06-19 05:31:05 +00:00
mrg 7cd1fc6805 skip the radeon bits for non x86 platforms. they build fine, but
they're not linked into gallium, so avoid building them.
2019-06-19 05:24:13 +00:00
mrg e90b1fb9dd allow all arm platforms, not just evbarm, to build with MKLLVMRT.
allow mips and powerpc platforms as well.

amusingly, this allows my shark to finally have functional
if not usable GL :-)  glxgears gets 1fps.

status:
- arm32 and ppc have llvm dynamic linker patches.
- ppc is not yet working.
- mips untested.
2019-06-19 05:17:05 +00:00
kamil 1c06c1fef3 Add sys/uio.h & enum uio_seg, enum uio_rw to tools/compat
This is needed for bootstrapping the tools on Ubuntu 16.x.
2019-06-19 03:40:15 +00:00
gutteridge a5eac202d5 wpa_supplicant.8: add xref to wpa_passphrase.8 2019-06-19 03:27:38 +00:00
gutteridge b5957b94c2 wpa_cli.8: add xref to wpa_passphrase.8 2019-06-19 03:23:56 +00:00
kamil f32d6f14d4 Add support for KTR logs of SIGTRAP for TRAP_CHILD events
Previously it was disabled due to vfork(2) synchronization issues.
These problems are now gone.

While there, set l_vforkwaiting to false in posix_spawn. This is not very
needed but it does not make harm to keep it initialized explicitly.
2019-06-18 23:53:55 +00:00
nia 6de15261d6 servpce -> service 2019-06-18 23:11:05 +00:00
kamil 2eb952e453 Welcome 8.99.46!
do_sys_mknod{,at}() changes
quota modules refactoring
2019-06-18 22:41:32 +00:00
kamil 44fbe52a89 Stop defining in lwp.h: LSDEAD
Not used since NetBSD-5.0.

It had a confusing comment that suggested that all entries after LSDEAD
are removed, which wasn't true.
2019-06-18 22:40:09 +00:00
kamil 3c0a7f49e5 Drop unused retval pointer from do_sys_mknod{,at}()
No functional change intended.
2019-06-18 22:34:25 +00:00
kamil a8778fd7dc Introduce PTRACE_REG_FP() a helper macro to retrieve the frame pointer
The macro is dummy for ia64 (the FP register is unknown and can change
freely) and sparc/sparc64 (not stored in struct reg).
2019-06-18 21:18:11 +00:00
kamil 6923eb2928 Allow to conditionally enable LWP ATF tests in t_ptrace_wait*
By default the tests are disabled.
2019-06-18 21:14:26 +00:00
sevan a8d9521c3c more bsd-family-tree 2019-06-18 21:08:34 +00:00
sevan e7ea67ae3c Sync with FreeBSD r349177 2019-06-18 21:07:21 +00:00
christos 1ad4b6698b sort -u opt_ to remove dup. 2019-06-18 16:46:03 +00:00
christos be18fc40de Regen 2019-06-18 16:24:32 +00:00
christos d284430a9c include #ifdefs in the syscalls autoload file and make it standalone.
XXX: This needs to be re-thought
2019-06-18 16:24:17 +00:00
christos 94ce234399 Add ifdef for quota and include the syscall numbers header 2019-06-18 16:23:24 +00:00
christos 9ab1edd43d Add options for quota. 2019-06-18 16:22:54 +00:00
christos 54eec0e664 remove XXX from the quota call. 2019-06-18 16:06:45 +00:00
pgoyette 2f426afbf1 Include opt_quota.h
Fixes (at least) the amd64 build.
2019-06-18 16:05:30 +00:00
pgoyette 2e63e20131 Include quota compat code by default 2019-06-18 15:26:27 +00:00
skrll 17eb632a81 Use UAL syntax for udf. NFCI. 2019-06-18 15:21:19 +00:00