| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
To reduce code duplication move socket defines to the MI path.
|
|
|
|
| |
Remove excess tv_nsec test as this is done by linux_to_native_timespec().
|
|
|
|
| |
The value in the tv_nsec field should be in the range 0 to 999999999.
|
|
|
|
|
|
| |
As noted by bde@ negative tv_sec values are not checked for overflow,
so overflow can still occur. Fix that. Also remove the extra check for
tv_sec size as under COMPAT_LINUX32 it is always true.
|
|
|
|
|
| |
Check for negative nanoseconds.
Linux do that in timespec_valid().
|
|
|
|
|
| |
Prevent ushort values overflow when convert new Linux 64-bit ipc
struct to the old Linux ipc struct.
|
|
|
|
|
| |
Linux semop system call return EINVAL in case when the invalid nsops
or semid values specified.
|
|
|
|
|
| |
Linux kernel does not export to the user space ipc_perm.mode values
other than S_IRWXUGO (0777).
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reduce code duplication between MD Linux code by moving SYSV IPC 64-bit
related struct definitions out into the MI path.
Invert the native ipc structs to the Linux ipc structs convesion logic.
Since 64-bit variant of ipc structs has more precision convert native ipc
structs to the 64-bit Linux ipc structs and then truncate 64-bit values
into the non 64-bit if needed. Unlike Linux, return EOVERFLOW if the
values do not fit.
Fix SYSV IPC for 64-bit Linuxulator which never sets IPC_64 bit.
|
|
|
|
| |
Style(9).
|
|
|
|
|
|
|
|
| |
Remove attribute __packed from some IPC struct definition since
Linuxulator is x86 only.
The only notable differences in algnment for an LP64 64-bit system
when compared to a 32-bit system is an eight or large byte types
alignment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update tcsh to 6.20.00
MFC r315952:
Update tcsh to vendor git b605cb561d
Vendor changes:
1. PR/471: Daiki Ueno: Delay interpreting arginp until we've processed
our startup files (which can change the NLS environment).
2. Fix type of read in prompt confirmation (eg. rmstar) (David Kaspar).
3. Fix out of bounds read (Brooks Davis)
(reproduce by starting tcsh and hitting tab at the prompt).
4. Don't play pointer tricks that are undefined in modern c
(Brooks Davis).
|
|
|
|
|
|
|
|
|
|
| |
Trying to be more compatible with Linux if.h definitions:
- renaming l_ifreq::ifru_metric to l_ifreq::ifru_ivalue;
- adding a definition for ifr_ifindex which points to l_ifreq::ifru_ivalue.
A quick search indicates that Linux already got the above changes since 2.1.14.
Reviewed by: kib, marcel, dchagin
|
|
|
|
|
|
|
|
| |
Allow explicitly assigned IPv4 & IPv6 loopback addresses to be used in
jails.
Relnotes: Yes
Sponsored by: Multiplay
|
|
|
|
|
|
| |
Move IPv4 & IPv6 specific jail functions to netinet and netinet6 files.
Sponsored by: Multiplay
|
| |
|
| |
|
|
|
|
| |
AACRAID_DEBUG
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
on AMD CPUs
|
| |
|
|
|
|
| |
processors
|
|
|
|
|
|
|
|
|
|
|
|
| |
Point out that -F probably does not do what the user expects.
Users attempting to create images from mtree METALOG files created by
installworld often use -F when they should be passing the METALOG file
in place of a directory. This is often produces difficult to debug
error reports.
Reviewed by: emaste
Sponsored by: DARPA, AFRL
|
|
|
|
| |
Release ccb if mode_buffer allocation fails.
|
|
|
|
| |
kmod: Fix depending on ILINKS for tracked DEPENDOBJS.
|
|
|
|
| |
META_MODE: Fix not using .depend files when no OBJDIR is present.
|
|
|
|
| |
Rename _cc to _gcc to be more clear.
|
|
|
|
| |
hier(7): Fix entry location for /usr/share/vt.
|
|
|
|
| |
kmod: Fix building assym.o not building missing dependencies.
|
|
|
|
|
|
|
|
|
|
|
| |
Bring back the definition for the GCC __nonnull() attribute.
Old versions of GCC, including the version installed the latest 11-stable
snapshot with pkg(8), still carry the old attributes.
The issue is easily fixed by rebuilding GCC but there is no need to cause
havoc in our user base. The definition by itself is harmless but it should
be removed again in the near future.
|
|
|
|
|
|
|
| |
newfs_nandfs: Fix unaligned pointer warning
PR: 217532
Submitted by: Trond Endrestol <Trond.Endrestol at ximalas.info>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
8046 Let calloc() do the multiplication in libzfs_fru_refresh
https://github.com/illumos/illumos-gate/commit/5697e03e6e3e2697f56ae341c7c8ce79680d6a2e
https://www.illumos.org/issues/8046
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Pedro Giffuni <pfg@freebsd.org>
|
|
|
|
| |
Remove spl*() calls from the nfsclient code.
|
|
|
|
|
|
|
|
|
|
|
| |
Previously a command like
objcopy --input-target binary --output-target elf64-x86-64-freebsd \
binary_file object.o
would leave a temporary file behind.
ELF Tool Chain ticket #543
|
|
|
|
| |
Add V_VMIO flag for vinvalbuf(9).
|
|
|
|
|
| |
Extract calculation of ioflags from the vm_pager_putpages flags into a
helper.
|
|
|
|
|
| |
Some style fixes for vnode_pager_generic_putpages(), in the local
declaration block.
|
|
|
|
|
|
| |
Use int instead of boolean_t for flags argument type in
vnode_pager_generic_putpages() prototype; change the argument name to
reflect that it is flags.
|
|
|
|
| |
Lock the ND prefix list and add refcounting for prefixes.
|
|
|
|
| |
Fix style bugs and remove trailing whitespace in libproc and librtld_db.
|
|
|
|
| |
Fix a backwards comparison in the code to dump a DTrace debug buffer.
|
|
|
|
| |
Refine r301173 a bit.
|
|
|
|
| |
Typo.
|
|
|
|
| |
Avoid sleeping when the mirror I/O queue is non-empty.
|
|
|
|
| |
When draining a callout, don't clear CALLOUT_ACTIVE while it is running.
|
|
|
|
|
|
|
|
|
|
|
| |
r316637:
When passingthrough from sdiff to diff the -H/--speed-large-files
options rename it to the long version as GNU diff only support the long
version of the option not the short version
r316638:
Remove a useless loop over the long options before passing through some
options to diff(1)
|