summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Centrally manage enforcement of {reboot,swapon,sysctl} using therwatson2002-10-279-117/+81
| | | | | | | mac_enforce_system toggle, rather than several separate toggles. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Eliminate two cases of undefined behaviour: total in _fetch_write() wasdes2002-10-272-0/+2
| | | | | | | | not initialized before use, and _http_growbuf() did not return a value on success. Reported by: Peter Edwards <pmedwards@eircom.net> MFC after: 2 weeks
* Whitespace and indentation cleanup.des2002-10-271-12/+12
|
* Forgot to disable alarms after fetchXGet() in previous commit.des2002-10-271-0/+2
|
* Add an ETA timer that kicks in after 30 seconds.des2002-10-271-16/+45
| | | | | | | | | | | | | | | | Re-add alarm(2) calls around the calls to fetchStat(3) and fetchXGet(3), since these calls can still time out on DNS lookups or TCP connect(2). Remove the alarm(2) calls in the main loop, since all methods properly handle transfer timeouts (as opposed to connection timeouts). Set the sigalrm flag if a timeout occurs in the main loop. Move the signal: label up a little so we still set the atime and mtime when the transfer times out or is interrupted, so that restarted transfers will work as expected (as long as the file still exists). MFC after: 2 weeks
* Back out the previous commit, and fix the bug rather than try to hide itsdes2002-10-271-10/+18
| | | | | | | symptoms: make timeouts and short transfers fatal, and set errno to an appropriate value (ETIMEDOUT for a timeout, EPIPE for a short transfer). MFC after: 2 weeks
* Fix a bunch of warnings on 64 bit platforms in themux2002-10-272-4/+5
| | | | CISS_DEBUG case by appropriately using %z and %j.
* - Comment a line which sets CISS_DEBUG by default.mux2002-10-271-1/+1
| | | | - Use -DCISS_DEBUG rather than -DCISS_DEBUG=0.
* Fix a warning when CISS_DEBUG is defined.mux2002-10-271-1/+1
|
* Correct visibility for v*wscanf(), wcstoll() and wcstoull(). These functionstjr2002-10-271-9/+16
| | | | | did not exist in ISO C Amd. 1. Add #ifdef __LONG_LONG_SUPPORTED and lint comments around wcstoll() and wcstoull().
* Fix the regexp evilness so that fdisk can (again?) find the devicephk2002-10-271-1/+1
| | | | | | root is on from the root mount path. Spotted by: imp
* Style sweep.tjr2002-10-275-40/+32
|
* Don't attempt to find the geometry with disklabel based ioctl, it justphk2002-10-271-15/+0
| | | | issues a useless warning now.
* Don't truncate on large disks.phk2002-10-271-1/+6
|
* Translation of DOS and QIC/SCSI tape sectiongioria2002-10-271-190/+216
|
* MFbed:ue2002-10-273-6/+79
| | | | | | hardware/alpha/proc-alpha.sgml: 1.44 -> 1.45 hardware/common/dev.sgml: 1.110 -> 1.111 relnotes/common/new.sgml: 1.437 -> 1.439
* MFen 1.5gioria2002-10-271-14/+8
|
* Implement mac_check_system_sysctl(), a MAC Framework entry point torwatson2002-10-2714-0/+277
| | | | | | | | | | | | | | | permit MAC policies to augment the security protections on sysctl() operations. This is not really a wonderful entry point, as we only have access to the MIB of the target sysctl entry, rather than the more useful entry name, but this is sufficient for policies like Biba that wish to use their notions of privilege or integrity to prevent inappropriate sysctl modification. Affects MAC kernels only. Since SYSCTL_LOCK isn't in sysctl.h, just kern_sysctl.c, we can't assert the SYSCTL subsystem lockin the MAC Framework. Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Hook up mac_check_system_reboot(), a MAC Framework entry point thatrwatson2002-10-2714-3/+225
| | | | | | | | | permits MAC modules to augment system security decisions regarding the reboot() system call, if MAC is compiled into the kernel. Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Merge from MAC tree: rename mac_check_vnode_swapon() torwatson2002-10-2714-171/+171
| | | | | | | | | | | mac_check_system_swapon(), to reflect the fact that the primary object of this change is the running kernel as a whole, rather than just the vnode. We'll drop additional checks of this class into the same check namespace, including reboot(), sysctl(), et al. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* MACHINE_ARCH is wrong here. It should be MACHINEimp2002-10-271-1/+1
| | | | Submitted by: nyan@ (Yoshihiro-san)
* Mention the need to have COMPAT_FREEBSD4 in the kernel you use for theimp2002-10-271-1/+6
| | | | upgrade.
* Remove unnecessary compatibility macro. (We were only printing, not parsing,wollman2002-10-271-1/+0
| | | | intmax_t.)
* Add new 1003.1-2001/TC1/D6 parameters. (On final recirculation ballot now,wollman2002-10-274-2/+16
| | | | | | | | so this should be officially TC1 before the New Year.) Add TrustedBSD pathconf parameters. Add compilation support for -stable (to be merged momentarily).
* Add NO_COMPAT_FREEBSD4.peter2002-10-272-0/+2
| | | | Submitted by: Sergey Mokryshev <mokr@mokr.net>
* DISTDIR is used by 'make release', lets see if this is enough to turnpeter2002-10-271-1/+1
| | | | off the execution test.
* o Add functionality to add a GPT partition,marcel2002-10-279-104/+389
| | | | | | | | | | | | o Use DCE compliant UUID functions and provide local implementations if they don't exist, o Move dumping of the map to show.c and print the partition type, o Some cleanups and rearrangements. The default GPT partition type is UFS. When no starting block or size are specified, the tool will create a partition in the first free space it find (or that fits, depending on the size).
* Don't dump core if none of the directories in /etc/manpath.config exist.kris2002-10-271-0/+3
| | | | Submitted by: terry
* Allow users to read the Early Adopter's Guide in sysinstall.bmah2002-10-272-14/+18
|
* Note the scary messages that you see when mounting / and other thingsimp2002-10-271-0/+3
| | | | | are expected and normal when you've booted a 5.0 kernel with a 4.x userland.
* Un-remove sysinstall for ia64.peter2002-10-271-1/+2
|
* Add back ia64 support that was removed in the last few revisions.peter2002-10-274-1/+31
| | | | I've cloned write_ia64_disk.c from write_i386_disk.c.
* Convert speed into KB/s. This was missed by the previous commit to this file.njl2002-10-261-1/+1
| | | | MFC after: 3 weeks
* State the stupidly obvious:imp2002-10-261-1/+7
| | | | | If /tmp is on /, then blowing away its contents, as appropriate, may get you enough space to do the installworld.
* Note: 5.0 requires more space. If you don't have 30MB free on /, thenimp2002-10-261-0/+5
| | | | | | you are going to get hurt badly if you try to do an update from sources. Make a note of this. While 'experts' could install it in less space, I think 30MB is a good number.
* Make geom_mbr.c optional on PC98, use GEOM_MBR option to include it.phk2002-10-262-1/+6
| | | | | Disable check for supposedly magic "IPL1" string for PC98 labels, its thaumaturgical power is in doubt.
* query ip6.arpa then ip6.int for IPv6 reverse lookup. follows RFC3152.ume2002-10-261-1/+7
| | | | MFC after: 5 days
* Fix a style nit.mux2002-10-261-1/+1
|
* In VOP_LOOKUP, don't deny DELETE and RENAME operationsmux2002-10-261-1/+2
| | | | | when ISLASTCN is not set. The actual file which is being looked up may live in a different filesystem.
* Add a missing destroy_dev().mux2002-10-261-0/+2
|
* Allow deprecated or unimplemented system call vectors to deliver SIGSYS,jake2002-10-261-1/+1
| | | | as suggested by the sparc v9 ABI.
* Remove an unused macro.jake2002-10-261-6/+0
|
* Modified release notes: Add a note to geom(4) entry about the demisebmah2002-10-262-2/+32
| | | | of compatability slices.
* Get rid of the boilerplate upgrading information in the release notes,bmah2002-10-262-94/+18
| | | | | and point to the Early Adopter's Guide instead, at least for the next release or two.
* Point to the Early Adopter's Guide from the README.bmah2002-10-261-0/+7
|
* MFi386: revisions 1.544 and 1.545.nyan2002-10-262-80/+640
|
* Add & hookup manpage for pthread_attr_get_np(3).phantom2002-10-263-0/+191
| | | | MFC after: 3 days
* Slightly change the semantics of vnode labels for MAC: rather thanrwatson2002-10-2629-4824/+1254
| | | | | | | | | | | | | | | | | | | | | "refreshing" the label on the vnode before use, just get the label right from inception. For single-label file systems, set the label in the generic VFS getnewvnode() code; for multi-label file systems, leave the labeling up to the file system. With UFS1/2, this means reading the extended attribute during vfs_vget() as the inode is pulled off disk, rather than hitting the extended attributes frequently during operations later, improving performance. This also corrects sematics for shared vnode locks, which were not previously present in the system. This chances the cache coherrency properties WRT out-of-band access to label data, but in an acceptable form. With UFS1, there is a small race condition during automatic extended attribute start -- this is not present with UFS2, and occurs because EAs aren't available at vnode inception. We'll introduce a work around for this shortly. Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Prototype for pthread_attr_get_np().phantom2002-10-261-0/+1
|
* Hook uthread_attr_get_np.c to buildphantom2002-10-261-0/+1
|
OpenPOWER on IntegriCloud