summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Reset LogTag to NULL in closelog(3). This fixes mysterious crashesru2002-11-141-0/+1
| | | | | | | | | | | 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
* Don't register the powerfail interrupt as fast in thetmm2002-11-141-2/+8
| | | | | | | non-DEBUGGER_ON_POWERFAIL case so that shutdown_nice() can be called without problems. Reported & tested by: Gavin Atkinson <gavin@ury.york.ac.uk>
* This commit was generated by cvs2svn to compensate for changes in r106907,dougb2002-11-149-18/+57
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import security patches from ISC for BIND version 8.3.3dougb2002-11-149-18/+57
| |
| * I don't think we ever installed these files, and they are moredougb2002-07-0122-3778/+0
| | | | | | | | than a little dated.
* | Install devd.conf(5).tjr2002-11-141-1/+1
| |
* | Add a new newsyslog.conf flag - 'G', which if set tells newsyslog(8) thatsobomax2002-11-142-1/+29
| | | | | | | | | | | | | | | | | | | | 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 Fix _longjmp() to return 1 when the return value is given as 0.marcel2002-11-141-52/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | In kse_release(), check if current thread is bounddavidxu2002-11-142-8/+32
| | | | | | | | | | | | and current kse mailbox was already initialized, also prevent last thread from exiting unless we figure out how to safely support null thread proc.
* | Panic message strings do not need a trailing \n.imp2002-11-141-1/+1
| | | | | | | | Reviewed by: ken
* | MFp4:imp2002-11-143-3/+3
| | | | | | | | | | o Fix small style nit. This was supposed to be part of the last batch of style fixes, but somehow didn't get merged.
* | MFp4:imp2002-11-141-0/+12
| | | | | | | | o Add support for bus_child_present call by implementing that method for cbb.
* | MFp4:imp2002-11-141-4/+7
| | | | | | | | | | o Make this code a little easier to understand by using simpler if statements, but nesting them.
* | MFp4:imp2002-11-141-4/+4
| | | | | | | | | | | | | | | | 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
* | Remove an impossible condition. pf->dev is always non-null here.imp2002-11-141-2/+1
| |
* | MFp4:imp2002-11-141-10/+7
| | | | | | | | | | o Add a diagnostic for an 'impossible' condition. o Collapse common code.
* | minor correction to commentimp2002-11-141-1/+1
| |
* | Add second and thrid bus-toaster IDsimp2002-11-141-0/+2
| |
* | regen to 1.37imp2002-11-141-2/+5
| |
* | Add a third aic-based bustoaster.imp2002-11-141-1/+2
| |
* | Panic message should end with \n.imp2002-11-142-12/+12
| | | | | | | | Reviewed by: ken a while ago.
* | Add conditional code specific to ia64 to allow newfs(8)-ing FATmarcel2002-11-144-6/+118
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Add newfs_msdos to the crunch-mix. We need to be able to newfs anmarcel2002-11-141-1/+1
| | | | | | | | EFI partition.
* | Minimal take on previous commit -- remove getopt and printf. Static sizenjl2002-11-141-15/+9
| | | | | | | | | | | | | | | | | | 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
* | Back out previous commit since there is controversy about changing so muchnjl2002-11-141-24/+30
| | | | | | | | | | in sleep including duping strtol(3). Code changes also increased dynamic size of sleep(1).
* | When parsing the CIS, if a BAR tuple is encountered, enable the correspondingscottl2002-11-131-0/+5
| | | | | | | | | | | | | | | | | | 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
* | Argh, change declaration of two-dimensional array so that it actuallydeischen2002-11-132-2/+3
| | | | | | | | builds.
* | Recognize the Serverworks CIOB30 host to pci bridge.peter2002-11-132-0/+10
| |
* | Try to reword things a bit more to make it clearer.jhb2002-11-131-3/+13
| | | | | | | | Reviewed by: imp
* | Remove getopt and strtol dependencies, reducing size of static exe.njl2002-11-131-30/+24
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Remove dead code that hasn't been needed since the demise of share mapsalc2002-11-132-26/+0
| | | | | | | | in various revisions of vm/vm_map.c between 1.148 and 1.153.
* | Make this compile with whatever error-checking is enabled in buildworlddeischen2002-11-131-2/+2
| | | | | | | | and/or beast.
* | - Fix some minor grammar and spelling nits.jhb2002-11-131-10/+14
| | | | | | | | | | | | | | - Massage the wording in a few places. - Put .Nm on lines by itself so it renders correctly. Reviewed by: imp
* | New release notes: SA-02:40, SA-02:41, SA-02:42.bmah2002-11-132-0/+36
| |
* | At initialization, override the pthread stub routines in libcdeischen2002-11-1319-136/+245
| | | | | | | | | | | | | | | | | | 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.
* | Use a jump table (a la Solaris) for pthread routines with defaultdeischen2002-11-134-401/+230
| | | | | | | | | | | | | | | | | | | | 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.
* | Remove a commented out #include "opt_pci.h", it doesn'tmux2002-11-131-1/+0
| | | | | | | | exist anymore.
* | The pam_krb5 module stored a reference to a krb5_ccache structure asnectar2002-11-131-20/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | Remove opt_pci.h from SRCS, it doesn't exist anymore.mux2002-11-132-2/+2
| |
* | Use `krb5_get_err_text' instead of `error_message' so that instead ofnectar2002-11-131-24/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | Remove opt_pci.h from SRCS.mux2002-11-131-1/+1
| |
* | Remove a bunch of #include "opt_pci.h".mux2002-11-1314-14/+0
| |
* | Unbreak kernel build.mux2002-11-131-1/+0
| | | | | | | | Submitted by: Hiten Pandya <hiten@angelica.unixdaemons.com>
* | Add ia64 documents to RELNOTESng snapshot.bmah2002-11-131-1/+1
| |
* | Don't set atime / mtime if we don't have an output file, which can happendes2002-11-131-2/+2
| | | | | | | | in certain failure scenarii (mostly DNS trouble).
* | Introduce a condition variable to avoid returning EBUSY whenrwatson2002-11-139-261/+468
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Add support for the C99 %t format modifier.mux2002-11-131-2/+11
| |
* | Add the sys/stddef.h header, so that we can have ptrdiff_tmux2002-11-131-0/+43
| | | | | | | | | | | | | | | | | | 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
* | Take __FreeBSD_version into account when BOOTSTRAPPING.ru2002-11-138-18/+28
| |
* | Actually check if stdbool.h exists when BOOTSTRAPPING.ru2002-11-132-2/+2
| |
OpenPOWER on IntegriCloud