| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
we have a binutils that supports it. Kernel dot symbols remain on to assist
DDB.
|
| |
|
|
|
|
|
| |
PR: docs/149950
Submitted by: arundel@
|
|
|
|
| |
MFC after: 1 month
|
|
|
|
|
|
|
| |
calling thread's unique integral ID, which is similar to AIX function of
the same name. Bump __FreeBSD_version to note its introduction.
Reviewed by: kib
|
| |
|
|
|
|
|
|
| |
made the neccessary provisions.
Reported by: arundel
|
|
|
|
|
|
|
|
|
|
|
|
| |
This matches the constants from <signal.h> with 'SIG' removed, which POSIX
requires kill and trap to accept and 'kill -l' to write.
'kill -l', 'trap', 'trap -l' output is now upper case.
In Turkish locales, signal names with an upper case 'I' are now accepted,
while signal names with a lower case 'i' are no longer accepted, and the
output of 'killall -l' now contains proper capital 'I' without dot instead
of a dotted capital 'I'.
|
|
|
|
|
|
|
| |
These changes are needed to fix n32 compile after the recent change of
mips n32 MACHINE_ARCH to mipsn32eb/mipsn32el.
Reviewed by: imp, bz (earlier version)
|
|
|
|
|
|
|
| |
architectures that support this .note. In particular, do not unneccessary
emit the notes on ia64 and sparc64, which ABI require non-executable stacks.
Tested by: marcel
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
Because {NGROUPS_MAX} may become variable, its value should be obtained
using sysconf(3). If a #define is used anyway, it should be obtained by
including <limits.h> as that is in POSIX like getgroups(2) itself is.
<sys/param.h> is not in POSIX.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
This is what SUSv4 requires, and also the only thing that works if strict
standards compliance is requested or mknodat() is needed.
PR: standards/123688
Submitted by: gcooper
MFC after: 1 week
|
|
|
|
| |
Reviewed and tested by: nwhitehorn
|
|
|
|
| |
stack protection to allow execution for single-threaded processes.
|
|
|
|
|
|
|
| |
Do not use strlcpy() where simple assignment is enough.
Noted by: bde (long time ago)
MFC after: 1 week
|
|
|
|
|
|
| |
Submitted by: henning petersen <henning.petersen t-online de>
PR: 153756
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement MACHINE_ARCH=mips64e[lb] to build N64 images. This replaces
MACHINE_ARCH=mipse[lb] TARGET_ABI=n64.
MACHINE_ARCH=mipsn32e[lb] has been added, but currently requires
WITHOUT_CDDL due to atomic issues in libzfs. I've not investigated
this much, but implemented this to preserve as much of the TARGET_ABI
functionality that I could. Since its presence doesn't affect the
working cases, I've kept it in for now.
Added mips64e[lb] to make universe, so more kernels build.
And I think this (finally) closes the curtain on the tbemd tree.
|
| |
|
| |
|
|
|
|
|
|
| |
thing with empty quotation macros.
Requested by: Alex Kozlov
|
|
|
|
| |
Reported by: pluknet
|
|
|
|
| |
SHM_W and machine/param.h.
|
| |
|
| |
|
|
|
|
| |
cerror on powerpc64.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the existing file descriptor. Instead, let dup2() atomically close the
old file descriptor when assigning the newly opened file to the same
descriptor. This closes a race in a multithreaded application where a
concurrent open() could allocate the existing file descriptor in between
the calls to close() and dup2().
PR: threads/79887
Submitted by: Dmitrij Tejblum tejblum of yandex-team.ru
Reviewed by: davidxu
MFC after: 1 week
|
| |
|
|
|
|
|
|
| |
PR: bin/152551
Submitted by: Henning Petersen <henning.petersen t-online.de>
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
r197752, which is related to handling of null buffer pointers. Also
make a few minor wording changes.
Reported by: jh@
|
|
|
|
|
| |
For example, it will now return ESRCH when trying to replace a
nonexistent entry with DEAD_PROCESS.
|
|
|
|
|
| |
Obtained from: OpenBSD
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
you tag a socket with an uint32_t value. The cookie can then be
used by the kernel for various purposes, e.g. setting the skipto
rule or pipe number in ipfw (this is the reason SO_USER_COOKIE has
been implemented; however there is nothing ipfw-specific in its
implementation).
The ipfw-related code that uses the optopn will be committed separately.
This change adds a field to 'struct socket', but the struct is not
part of any driver or userland-visible ABI so the change should be
harmless.
See the discussion at
http://lists.freebsd.org/pipermail/freebsd-ipfw/2009-October/004001.html
Idea and code from Paul Joe, small modifications and manpage
changes by myself.
Submitted by: Paul Joe
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
aligned by accident with earlier binutils, but no longer are, causing link
failures.
Submitted by: nwhitehorn
Obtained from: projects/binutils-2.17
|
|
|
|
|
| |
versions of gas are more fussy about spaces surrounding '@' signs in
versioned symbol names.
|
|
|
|
|
|
|
|
|
|
|
| |
I've noticed various terminal emulators that need to obtain a sane
default termios structure use very complex `hacks'. Even though POSIX
doesn't provide any functionality for this, extend our termios API with
cfmakesane(3), which is similar to the commonly supported cfmakeraw(3),
except that it fills the termios structure with sane defaults.
Change all code in our base system to use this function, instead of
depending on <sys/ttydefaults.h> to provide TTYDEF_*.
|
|
|
|
|
|
|
|
|
| |
flag. [1]
- Note that also fchflags(2) will return EPERM for attempts to set or
unset the SF_SNAPSHOT flag.
Submitted by: Garrett Cooper [1]
MFC after: 1 week
|
|
|
|
|
|
| |
also add sysconf() key _SC_CPUSET_SIZE to get sysctl value.
Submitted by: gcooper
|
|
|
|
| |
Submitted by: Artem Belevich (artemb at gmail dot com)
|
|
|
|
| |
thought.
|
|
|
|
|
|
|
| |
PR: docs/143330
Submitted by: Efstratios Karatzas (gpf dot kira at gmail dot com)
Discussed with: ru@
MFC after: 7 days
|
|
|
|
|
|
|
|
| |
strtonum does not require limits.h
Obtained from: OpenBSD
Discussed with: ru@
MFC after: 5 days
|
|
|
|
|
|
| |
Instead of only returning NULL when the entry is invalid and can't be
matched against the current database, also return it when it cannot open
the log files properly.
|
|
|
|
|
|
| |
It's a bit more pedantic regarding .Bl list elements. This has an added
benefit of unbreaking the ipfw(8) manpage, where groff was silently
skipping one list element.
|
|
|
|
|
|
|
| |
a silly rwlock deadlock problem, the deadlock is caused by writer
waiters, if a thread has already locked a reader lock, and wants to
acquire another reader lock, it will be blocked by writer waiters,
but we had already fixed it years ago.
|
|
|
|
| |
pthread_rwlockattr_getkind_np.
|
|
|
|
|
|
|
| |
* When calling syslog(), pass a format string.
* Define YY_NO_INPUT on nslexer.l
Submitted by: Norberto Lopes <nlopes.ml at gmail.com>
|
|
|
|
| |
They have no effect when coming in pairs, or before .Bl/.Bd
|
|
|
|
|
| |
Submitted by: brueffer
MFC after: 1 week
|
|
|
|
|
|
|
| |
and random(3).
Submitted by: Valentin Nechayev <netch netch kiev ua>
MFC after: 1 week
|