summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Updated libc/libc_r that fixes the FreeBSD-SA-02:28.resolv resolver bug.obrien2002-08-045-9633/+7154
| | | | Submitted by: Trevor Johnson <trevor@jpj.net>
* Allow "-v -v" to mean very verbose.obrien2002-08-042-4/+23
| | | | | | Reviewed by: freebsd-standards PR: 40709 Submitted by: Edward Brocklesby <nighthawk@unrealircd.com>, johan
* Fix generation of check-state rules, which i broke in last commit.luigi2002-08-041-1/+1
|
* o Request a wired page from vm_page_grab() in _pmap_allocpte().alc2002-08-042-10/+2
|
* Never allow a user to use crontab if opening /var/cron/{allow,deny} failstjr2002-08-041-16/+23
| | | | | | | | for any reason other than ENOENT (think resource limits). Close allow and deny files before allowed() returns to stop the user's EDITOR being able to read them. Obtained from: OpenBSD (partially)
* Rewrite loadlocale() to eliminate LOAD_CATEGORY macro to save space.ache2002-08-041-28/+27
|
* Nonexistent SIZE_MAX -> SIZE_T_MAXache2002-08-041-1/+1
|
* Signal an error instead of giving the caller less memory than they askedtjr2002-08-041-0/+7
| | | | | | for when num * size would cause integer overflow. MFC after: 1 week
* Add options to print the argument and environment string parameters tomdodd2002-08-0410-6/+146
| | | | | | | | | execve(). This could be done in a more general manner but it still wouldn't be very pretty. MFC after: 3 weeks
* Add a "FreeBSD ELF32" entry to ex_types[].mdodd2002-08-041-0/+1
|
* Print out the strings in vers.o instead of hardcoding the loader banner.jake2002-08-041-2/+4
|
* Terminate the output line when a non-returning syscall is printed.mdodd2002-08-045-0/+5
|
* Add options to print absolute and relative timestamps.mdodd2002-08-044-5/+46
| | | | | PR: bin/25587 (in part) MFC after: 3 weeks
* Kernel modifications necessary to allow to follow fork()ed children.mdodd2002-08-042-0/+11
| | | | | PR: bin/25587 (in part) MFC after: 3 weeks
* Allow tracking fork()ed children.mdodd2002-08-0411-10/+80
| | | | | PR: bin/25587 (in part) MFC after: 3 weeks
* Parameterize globals.mdodd2002-08-0411-143/+196
| | | | | PR: bin/25587 (in part) MFC after: 3 weeks
* If all file systems are marked nosuid, the line:gshapiro2002-08-031-8/+11
| | | | | | | | | | | | | | | MP=`mount -t ufs | grep -v " nosuid" | awk '{ print $3 }' | sort` sets ${MP} to an empty string so the next line: set ${MP} actually just dumps all of the shells variables to stdout (and therefore the security report). Fixed by surrounding the code which goes through the mounts with a test for an empty string before using ${MP}. Reviewed by: brian MFC after: 3 days
* o Ask for a prezeroed page in pmap_pinit() for the page directory page.alc2002-08-032-2/+2
|
* o Convert two instances of vm_page_sleep_busy() to vm_page_sleep_if_busy()alc2002-08-031-7/+6
| | | | with appropriate page queue locking.
* Add ERRORS section according to POSIX (no errors)ache2002-08-031-0/+2
|
* Catch empty encoding name tooache2002-08-031-1/+1
|
* Small diffs that p4 didn't catch when I extractedmux2002-08-031-2/+1
| | | | the diffs from my branch.
* This should have been committed too, I have no ideamux2002-08-031-1/+1
| | | | why p4 didn't gave me this diff too.
* Fix return codes to match what setrunelocale() returnsache2002-08-031-5/+2
|
* I should have committed this ages ago...mux2002-08-031-3/+15
| | | | | | Convert init(8) to use nmount() instead of mount() when it has to mount devfs. This doesn't happen normally, since the kernel is supposed to mount devfs itself.
* Now that the kernel is able to load modules itself,mux2002-08-0316-254/+26
| | | | | | | | | | remove all the code which was trying to do so. This code was nasty in several ways, it was hiding the kernel bug where the kernel was unable to properly load a module, and it was quitting if it wasn't able to load the module. The consequence is that an ABI breakage of the vfsconf API would have broken *every* mount utility.
* Preserve errno in fallback codeache2002-08-031-0/+3
|
* Fix handling of packets which matched an "ipfw fwd" rule on the input side.luigi2002-08-031-0/+13
|
* Add ISO C90 Amd. 1 btowc(3) and wctob(3) functions.tjr2002-08-035-2/+170
|
* Correct use of Nm macro in NAME section and a broken cross reference.tjr2002-08-031-2/+3
|
* Return errno provided by fopen, not always ENOENT.ache2002-08-031-10/+10
| | | | | Return EFTYPE instead of EINVAL for wrong locale file format. Whitespaces.
* Check encoding for ".", ".." and / insideache2002-08-031-1/+5
|
* Return EINVAL for NULL or too long encoding, not EFAULTache2002-08-031-1/+1
|
* Return ENAMETOOLONG for long PATH_LOCALE, not EFAULTache2002-08-031-1/+1
|
* 1) Use errno to indicate faulure reason.ache2002-08-031-44/+89
| | | | | | | | | | 2) Move incomplete check for / in locale name from env section to loadlocale(), add check for "." and ".." too. It allows to check any argument, not env only. 3) Redesing LOAD_CATEGORY macro to eliminate code duplication. 4) Try harder in fallback code: if old locale can't be restored, load "C" locale 5) White space formatting, long lines, etc.
* gcc tells me that this isn't a prototype, and it is right :-) Useimp2002-08-031-4/+1
| | | | ANSI decl here. The old K&R one was copied from OpenBSD I think.
* o Don't set PG_MAPPED on the page allocated and mapped in _pmap_allocpte().alc2002-08-032-2/+0
| | | | | (Only set this flag if the mapping has a corresponding pv list entry, which this mapping doesn't.)
* Add ISO C90 Amd. 1 wctype(3) and iswctype(3) functions.tjr2002-08-035-5/+198
|
* Ignore memory above 4GB for now due to unpleasant pci issues.peter2002-08-031-0/+15
|
* o Remove the setting of PG_MAPPED from vm_page_wire() andalc2002-08-031-2/+0
| | | | vm_page_alloc(VM_ALLOC_WIRED).
* Take advantage of the fact that there is a small 1MB direct mapped regionpeter2002-08-032-16/+22
| | | | | on x86 in between KERNBASE and the kernel load address. pmap_mapdev() can return pointers to this for devices operating in the isa "hole".
* Take a shot at fixing a nasty bug in the pmap changes that I did. Ipeter2002-08-032-2/+2
| | | | | | | | | missed the pmap_kenter/kremove in this file, which leads to read()/write() of /dev/mem using stale TLB entries. (gah!) Fortunately, mmap of /dev/mem wasn't affected, so it wasn't as bad as it could have been. This throws some light on the 'X server affects stability' thread.... Pointed out by: bde
* We now have opt_wi.h, so go ahead and add it. Default it to 1.imp2002-08-031-1/+4
|
* Add code that will download firmware to a Symbol LA4100-series of CFimp2002-08-034-1/+4537
| | | | | | | | | | | | cards. Since the firmware is hard coded into the kernel, I've made it a kernel option (WI_SYMBOL_FIRMWARE). Note: This only downloads into the RAM of these cards. It doesn't download into FLASH, and is somewhat limited. There needs to be a better way to deal, but this works for now. My Symbol LA4132 CF card works now. Obtained from: NetBSD
* While PCI interrupts are shareable, this should not have been committed justimp2002-08-021-7/+0
| | | | yet.
* Introduce support for Mandatory Access Control and extensiblerwatson2002-08-0218-2/+1878
| | | | | | | | | | | | | | kernel access control. Extensions to libc to provide basic MAC label manipulation facilities for userland. These interface will be replaced in the next month or two with more flexible interfaces, but provide sufficient support to allow use of the Biba and MLS policies for user applications. libc_r wrappers to follow. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Make the consumers of the linker_load_file() function usemux2002-08-024-10/+9
| | | | | | | | | | | | | linker_load_module() instead. This fixes a bug where the kernel was unable to properly locate and load a kernel module in vfs_mount() (and probably in the netgraph code as well since it was using the same function). This is because the linker_load_file() does not properly search the module path. Problem found by: peter Reviewed by: peter Thanks to: peter
* Introduce support for Mandatory Access Control and extensiblerwatson2002-08-021-0/+5
| | | | | | | | | | kernel access control. When generating nd6 output on an interface, label the packet appropriately. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* When preserving the IP header in extra mbuf in the IP forwardingrwatson2002-08-021-0/+7
| | | | | | | | case, also preserve the MAC label. Note that this mbuf allocation is fairly non-optimal, but not my fault. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Improve ordering of MAC entry points in mac_policy_op structure.rwatson2002-08-022-12/+12
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
OpenPOWER on IntegriCloud