| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
* ACL storage is no longer erased before a group of entries are added.
* ACL text creation no longer tries to skip over non-existent text.
* UTF8 encoder no longer blows up on invalid wide characters.
* Fixed ACL state management for default ACLs.
Also, publicize function for obtaining text-format ACL in various
formats. The interface is now extensible through a "flags" argument
that allows you to select a variant format.
|
|
|
|
|
| |
taking shortcuts when it comes to storing and passing around conversion
states.
|
| |
|
|
|
|
| |
Reminded by: ru
|
|
|
|
|
|
|
|
|
|
|
|
| |
with 'star' ACL handling, though there's still a
bit more work needed in this area.
Added 'write_open_fd' and 'read_open_fd' to simplify, e.g.,
tar's u and r modes. Eliminated old 'write_open_file_position'
as a bad idea. (It required closing/reopening files to
do updates, which led to unpleasant implications.)
Various other minor fixes, API tweaks, etc.
|
|
|
|
|
|
|
|
|
| |
on temporary nameserver failure. This is necessary to get
getipnodebyname(3) to correctly return h_errno=TRY_AGAIN instead
of HOST_NOT_FOUND.
Reviewed by: green, thomas
MFC after: 1 week
|
| |
|
|
|
|
| |
old rune interface now that it is no longer needed.
|
|
|
|
| |
wcrtomb()) interface.
|
|
|
|
|
| |
as a base. mbrtowc() and wcrtomb() are now implemented directly
instead of being emulatedi with sgetrune() and sputrune().
|
|
|
|
| |
Reported and submitted by: Sean McNeil (sean at mcneil.com)
|
|
|
|
| |
short_too already assumes FLAG_LONGONLY
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
case where an /etc/nsswitch.conf file was present, but could not
be opened (e.g. due to permissions). Previously, the open failure
condition was suppressed, and the built-in defaults were used. In
revision 1.11, however, propagated the open failure causing all
nsdispatch() invocations to return NS_UNAVAIL, and thus many APIs
including getpwnam and gethostbyname unconditionally failed.
This commit restores the previous behavior.
Pointy hat: nectar (+1 for obstinance; ache had to use clue bat)
Reported by: ache
|
| |
|
|
|
|
|
| |
Reviewed by: ru
Approved by: silence on the lists
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
solved by a simple 'make world'. The signalcontext function was going
to the trouble of generating an even 16 byte alignment, but in fact it
needed to be odd aligned to simulate the 8-byte return address having
been pushed by the caller. This fixes yet another group of crashes in
applications using libpthread. And yet again, it was my fault all along.
While here, rename the duplicate internal ctx_wrapper() functions to
makectx_wrapper() and sigctx_wrapper() so that traces aren't ambiguous.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
library, it may pull in that thread library at run time. If the
process started out single-threaded, this could cause attempts to
release locks that do not exist. Guard against this possibility by
checking __isthreaded before invoking thread primitives.
A similar problem remains if the process is linked against one thread
library, but the NSS module is linked against another. This can only
be avoided by careful design of the NSS module.
Submitted by: Sean McNeil <sean@mcneil.com> (mostly; bugs are mine)
|
| |
|
|
|
|
| |
isspecial(3) and wctype(3).
|
|
|
|
| |
and isspecial().
|
| |
|
|
|
|
| |
differ (at least in theory) from isdigit() and isxdigit().
|
| |
|
|
|
|
| |
Glanced by: jhb
|
| |
|
|
|
|
| |
o Don't check attribute for NULL. It's the callers responsibility.
|
|
|
|
|
|
|
| |
functionality spelled out in SUSv3.
o Signal of 0 means do everything except send the signal
o Check that the signal is not invalid
o Check that the target thread is not dead/invalid
|
|
|
|
|
| |
responsibility.
o If a thread is not joinable, the correct return value is EINVAL.
|
|
|
|
|
|
| |
the correct return value is ESRCH.
o Don't check the attribute for NULL. It's the caller's responsibility.
o Make the bitwise comparison explicit.
|
|
|
|
| |
an error. Return successfully without doing anything.
|
| |
|
|
|
|
| |
o Remove clock resolution information left over from libc_r
|
|
|
|
|
| |
in-line. If the exiting thread cannot release a resource, then
the next thread to exit will release it.
|
| |
|
|
|
|
|
|
|
|
| |
sigprocmask no longer needs to be wrapped.
o raise(3) is applied to the calling thread in a threaded program.
o In the sigaction wrapper reference the correct structure.
o Don't treat SIGTHR especially anymore (infact it won't exist in
a little while).
|
|
|
|
| |
was too much.
|
| |
|
|
|
|
|
|
|
| |
we still have to DTRT when an asynchronously cancellable thread is
cancelled while waiting for a mutex.
o While dequeueing a waiting mutex don't skip a thread if it has
a cancel pending. Only skip it if it is also async cancellable.
|
|
|
|
|
|
|
|
|
| |
the cause of any bugs because it is *always* indirectly set
in the for...loop, but better to be explicit about it.
o Check the magic number of the passed in thread only after it has
been found in the active thread list. Otherwise, if the check is done
at the very beginning we may end up pointing to garbage if the
thread was once a valid thread, but has now been destroyed.
|
|
|
|
|
| |
"corefile" argument, to access the running system via sysctl(3)
if possible, thus not requring special setgid privileges.
|
| |
|
|
|
|
| |
Reviewed by: ru
|
| |
|
|
|
|
|
|
| |
pthreads.
Submitted by: Christian S.J. Peron <maneo@bsdpro.com>
|
| |
|
| |
|
| |
|
|
|
|
|
| |
gathered into the middle of the _init and _fini sections, they get
executed with their expected stack alignment.
|