| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
caused by dynamic PAM modules that call openlog(3) and closelog(3),
e.g. ports/security/pam_pwdfile.
What happened here is that the module first registered its "ident"
with openlog(3), then PAM library unloaded module with dlclose(3),
and the next call to syslog(3) resulted in SIGSEGV.
MFC after: 3 days
|
|
|
|
|
|
|
| |
non-DEBUGGER_ON_POWERFAIL case so that shutdown_nice() can be called
without problems.
Reported & tested by: Gavin Atkinson <gavin@ury.york.ac.uk>
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| |
| |
| |
| | |
than a little dated.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
the specified filename of the log to be rotated is in fact shell glob
pattern. In this case, all files matching this pattern will be rotated
using the same options. Useful in the case when there is no pre-defined
name for the logfiles (e.g. xtradius, samba etc).
Sponsored by: PortaOne Software Ltd
MFC after: 2 weeks
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
o Remove the unwanted smartness in _longjmp() where it compares
the current ar.bspstore with the saved ar.bspstore and restores
ar.rnat based on it. This either avoids saving ar.rnat in the
jmp_buf or is the consequence of not saving ar.rnat. All this
complexity breaks libc_r where we use longjmp() to switch to
different threads and the current ar.bspstore has no relation
to the saved ar.bspstore. Thus: we save ar.rnat in setjmp()
and simply restore ar.bspstore and ar.rnat in longjmp().
This code needs a cleanup.
|
| |
| |
| |
| |
| |
| | |
and current kse mailbox was already initialized, also
prevent last thread from exiting unless we figure out
how to safely support null thread proc.
|
| |
| |
| |
| | |
Reviewed by: ken
|
| |
| |
| |
| |
| | |
o Fix small style nit. This was supposed to be part of the last batch of
style fixes, but somehow didn't get merged.
|
| |
| |
| |
| | |
o Add support for bus_child_present call by implementing that method for cbb.
|
| |
| |
| |
| |
| | |
o Make this code a little easier to understand by using simpler if
statements, but nesting them.
|
| |
| |
| |
| |
| |
| |
| |
| | |
o Use 32-bit unsigned types for things that really are 32-bit quantities,
not bus_addr_t. These are not the same as a bus_addr_t, so don't use
that here. Harmless on i386, introduced problems on sparc64.
Submitted by: jhb
|
| | |
|
| |
| |
| |
| |
| | |
o Add a diagnostic for an 'impossible' condition.
o Collapse common code.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Reviewed by: ken a while ago.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
partitions marked as being of type efi. This change adds code to
1. actually run the newfs command at mount time (install.c),
2. display the newfs state on screen (label.c)
3. allow toggling of the newfs state (label.c)
Even though newfs(8)-ing FAT partitions can be of use on i386
machines in general, it has been opted to minimize impact for
now.
|
| |
| |
| |
| | |
EFI partition.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
is reduced by 40k, dynamic by a few bytes.
Functional changes:
* "sleep -- arg" now returns usage() instead of ignoring the --
* "sleep -1" now returns immediately instead of returning usage()
Reviewed by: jmallett
|
| |
| |
| |
| |
| | |
in sleep including duping strtol(3). Code changes also increased
dynamic size of sleep(1).
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
bit in the PCI command register for the device. Otherwise, device drivers
that look at this register to see which types of BARs are usable will think
that none of them are.
This allows my Adaptec 1480A cardbus card to finally work.
Reviewed by: imp
|
| |
| |
| |
| | |
builds.
|
| | |
|
| |
| |
| |
| | |
Reviewed by: imp
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Preserve older desired behavior, accept [+-]*[0-9]*\.[0-9]*
Remove a few unnecessary casts.
%ls -l /bin/sleep
-r-xr-xr-x 1 root wheel 61332 Oct 28 05:16 /bin/sleep
%ls -l /usr/obj/usr/src/bin/sleep/sleep
-rwxr-xr-x 1 root wheel 19124 Nov 13 12:12 /usr/obj/usr/src/bin/sleep/sleep
Submitted by: Tim Kientzle <kientzle@acm.org>
|
| |
| |
| |
| | |
in various revisions of vm/vm_map.c between 1.148 and 1.153.
|
| |
| |
| |
| | |
and/or beast.
|
| |
| |
| |
| |
| |
| |
| | |
- Massage the wording in a few places.
- Put .Nm on lines by itself so it renders correctly.
Reviewed by: imp
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
by filling in the jump table.
Convert uses of pthread routines within libc_r to use the internal
versions (_pthread_foo instead of pthread_foo).
Remove a couple of globals from application namespace.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
entries in the table being stubs. While I'm here, add macros to
auto-generate the stubs. A conforming threads library can override
the stub routines by filling in the jump table.
Add some entries to namespace.h and sync un-namespace.h to it.
Also add a comment to remind folks to update un-namespace.h
when changing namespace.h.
|
| |
| |
| |
| | |
exist anymore.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PAM module state (created in pam_sm_authenticate and referenced later
in pam_sm_setcred and pam_sm_acct_mgmt). However, the krb5_ccache
structure shares some data members with the krb5_context structure
that was used in its creation. Since a new krb5_context is created
and destroyed at each PAM entry point, this inevitably caused the
krb5_ccache structure to reference free'd memory.
Now instead of storing a pointer to the krb5_ccache structure,
we store the name of the cache (e.g. `MEMORY:0x123CACHE') in
pam_sm_authenticate, and resolve the name in the other entry points.
This bug was uncovered by phkmalloc's free'd memory scrubbing.
Approved by: re (jhb)
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
e.g.
Unknown error: -1765328378
we get
Client not found in Kerberos database
Another way to accomplish this would have been to leave
`error_message' alone, but to explicitly load the Kerberos com_err
error tables. However, I don't really like the idea of a PAM module
dorking with global tables.
Approved by: re (jhb)
|
| | |
|
| | |
|
| |
| |
| |
| | |
Submitted by: Hiten Pandya <hiten@angelica.unixdaemons.com>
|
| | |
|
| |
| |
| |
| | |
in certain failure scenarii (mostly DNS trouble).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
the MAC policy list is busy during a load or unload attempt.
We assert no locks held during the cv wait, meaning we should
be fairly deadlock-safe. Because of the cv model and busy
count, it's possible for a cv waiter waiting for exclusive
access to the policy list to be starved by active and
long-lived access control/labeling events. For now, we
accept that as a necessary tradeoff.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
definition in the kernel. It also includes the offsetof()
definition which, according to bde@ should be here and not
in sys/types.h, and the definition of NULL so that we're
closer to make it closer to standard C.
Reviewed by: mike
|
| | |
|
| | |
|