summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a manual page for wcswidth().tjr2002-08-202-1/+62
|
* Use mv -f. Otherwise if you accidently build as root, and then as a user,obrien2002-08-201-2/+2
| | | | | | it keeps asking you if you want to overwrite it or not. Submitted by: peter
* Prefer NULL to 0 when passing a NULL pointer.rwatson2002-08-202-2/+2
|
* Provide stub mpo_syscall() implementations for mac_none and mac_test.rwatson2002-08-203-0/+27
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Correct one more errant whitespace nit that crept in during changesrwatson2002-08-201-1/+1
| | | | in the arguments to vn_rdwr(). Hopefully the last.
* Handle one more case of a fifofs filetmp: set filetmp.f_cred torwatson2002-08-201-2/+3
| | | | | | | | ap->a_cred, and pass in ap->a_td->td_ucred as the active_cred to soo_poll(). Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Move just committed version of wcswidth.c here (from "locale"),ache2002-08-202-25/+31
| | | | a bit optimized now.
* Remove wcswidth.c from here (and move it to "string")ache2002-08-202-65/+1
|
* Remove space at the end of continuation line in prev. commitache2002-08-201-1/+1
|
* Untangle this warning a bit:peter2002-08-202-2/+2
| | | | | COMPAT_SVR4 is broken and usage is, until fixed, not recommended BTW; does anybody remember why this is here?
* Add support for the R_IA64_IPLTLSB relocation in non-PLT context.marcel2002-08-201-0/+30
| | | | | | This relocation creates a function descriptor at the specified address and is commonly used for C++ to create virtual function tables.
* Print out a carriage return to make the screen output make more sensegordon2002-08-201-1/+1
| | | | Submitted by: mike@
* remove unit counts from atkbdc, pckbd, scpeter2002-08-208-17/+17
|
* de-count pcbkdpeter2002-08-201-1/+1
|
* de-count pckbd for pc98. This file is only compiled if NPCKBD was 1,peter2002-08-202-18/+10
| | | | so the conditional compile should never have been used.
* de-count atkbdc and sc. Folks, remove the '1' from 'device sc 1' andpeter2002-08-195-9/+9
| | | | 'device atkbdc 1'.
* de-count atkbdc. I have more extensive patches to make properly dynamic,peter2002-08-192-4/+2
| | | | | | but since pc hardware only allows one AT-style keyboard controller, this doesn't seem particularly urgent. (I do not know what the old sunriver remote keyboard/mouse/vga cards do, that might be an exception).
* de-count schistory.c. The handling of NSC was rather bogus here and waspeter2002-08-191-4/+13
| | | | | | | | little more than a place holder, because nothing actually counted the number of 'sc' units to compare it against NSC. A bit more work here is needed so that the scaling of SC_MAX_HISTORY_SIZE and extra_history_size goes up when more sc units are added. But, it does not appear that we can have more than one console yet, so it does not seem particularly urgent.
* xdr.3 is added to MAN in ../xdr/Makefile.inc where it belongs, so don'tbde2002-08-191-1/+1
| | | | add it here.
* Typo fix.mux2002-08-191-1/+1
| | | | Reviewed by: tmm
* style(9) nit.mux2002-08-191-1/+1
|
* Use the __BUS_ACCESSOR macro for PCIB_ACCESSOR instead ofmux2002-08-191-14/+2
| | | | | | reimplementing it. Reviewed by: tmm
* Sort unsorted prototypesache2002-08-191-1/+1
|
* When login tries to do the chmod/chflags on a read only file system,imp2002-08-191-3/+12
| | | | | | | | | | | | | | | | | | | it complains that it can't do it because the filesystem is readonly. Assume that when the user has a readonly /dev that they don't care if login can't change the permissions/flags. While this does break a few things like msgs, we'll assume that the user setting up the read only system knows what they are doing. All this change does is to stop the complaint when the file system is read only. It also adds comments as to why EROFS and EOPNOTSUPP are ignored. This allows one to have a read-only / w/o a /dev MFS and have a relatively warning-free existence. /etc/rc still complains when it can't chown/chflags/chmod things, but that's easy to ignore/tweak. Reviewed by: roberto, phk Sponsored by: Timing Solutions
* Activate (uncomment) wcwidth() and wcswidth() now implementedache2002-08-191-3/+0
|
* Implement wcswidth()ache2002-08-192-2/+66
|
* Stop trying to align malloc()ed memory. Rely on malloc() instead, just likesemenu2002-08-192-25/+18
| | | | others.
* Use modern-style arguments declarationache2002-08-191-2/+1
|
* Close a race in process label changing opened due to dropping therwatson2002-08-199-63/+90
| | | | | | | | | | proc locking when revoking access to mmaps. Instead, perform this later once we've changed the process label (hold onto a reference to the new cred so that we don't lose it when we release the process lock if another thread changes the credential). Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Do not reset card in epic_freebsd_attach() as reset is done insemenu2002-08-191-7/+0
| | | | epic_common_attach().
* Write null wide-character as L'\0' like in other placesache2002-08-191-1/+1
|
* Regen.rwatson2002-08-195-6/+6
|
* mac_syscall is now implemented, switch to MSTD.rwatson2002-08-191-1/+1
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Enclose IPv6 addresses in brackets when they are displayed printable with ajmallett2002-08-193-7/+15
| | | | | | | | TCP/UDP port seperated by a colon. This is for the log_in_vain facility. Pointed out by: Edward J. M. Brocklesby Reviewed by: ume MFC after: 2 weeks
* Fix a couple of bogus return values in previous commit.brooks2002-08-191-3/+2
| | | | | Submitted by: "Vladimir B. " Grebenschikov <vova@sw.ru> Pointy hat to: brooks
* Pass active_cred and file_cred into the MAC framework explicitlyrwatson2002-08-1924-196/+302
| | | | | | | | | | | for mac_check_vnode_{poll,read,stat,write}(). Pass in fp->f_cred when calling these checks with a struct file available. Otherwise, pass NOCRED. All currently MAC policies use active_cred, but could now offer the cached credential semantic used for the base system security model. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Fix buffer length.sos2002-08-191-1/+1
| | | | PR: 41063
* Fix typo.sos2002-08-191-1/+1
|
* According to SUSv2, always return 0 for null wide-character codeache2002-08-191-1/+6
|
* Provide an implementation of mac_syscall() so that security modulesrwatson2002-08-1913-2/+370
| | | | | | | | | | | can offer new services without reserving system call numbers, or augmented versions of existing services. User code requests a target policy by name, and specifies the policy-specific API plus target. This is required in particular for our port of SELinux/FLASK to the MAC framework since it offers additional security services. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Update manpage to reflect reality:gordon2002-08-191-9/+9
| | | | | | xntpd -> ntpd single_mountd_enable -> mountd_enable portmap -> rpcbind
* Clean up a comment talking about C strings, which are terminated with thejmallett2002-08-191-4/+4
| | | | ASCII NUL character (0, or '\0' in C).
* s/trailing NULL/trailing NUL/jmallett2002-08-192-2/+2
|
* New release note: SA-02:38.bmah2002-08-192-0/+14
|
* Break out mac_check_pipe_op() into component check entry points:rwatson2002-08-1919-122/+684
| | | | | | | | | | | mac_check_pipe_poll(), mac_check_pipe_read(), mac_check_pipe_stat(), and mac_check_pipe_write(). This is improves consistency with other access control entry points and permits security modules to only control the object methods that they are interested in, avoiding switch statements. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Don't read the PCI config space during mii operations. Instead save whetherambrisko2002-08-192-3/+9
| | | | | | | | | or not we have to limit the PHY detection in the softc structure. Then just check the flag. Suggested by: jdp Reviewed by: jdp MFC after: 3 days
* Break out mac_check_vnode_op() into three seperate checks:rwatson2002-08-1923-189/+764
| | | | | | | | | | mac_check_vnode_poll(), mac_check_vnode_read(), mac_check_vnode_write(). This improves the consistency with other existing vnode checks, and allows policies to avoid implementing switch statements to determine what operations they do and do not want to authorize. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Add a new `-H' modifier, which when combined with `-p' or `-P' allows to dumpsobomax2002-08-192-14/+38
| | | | full console history.
* 1. Allow information about current history size be retrieved using ioctl(2);sobomax2002-08-192-5/+47
| | | | | 2. modify screen dumpung routine, so that in addition to visible area, it allows to grab any portion of history buffer as well.
* Cater for ich4 quirks.orion2002-08-192-9/+29
| | | | | Reported by: Jacob Rhoden Tested by: Jacob Rhoden, mp
OpenPOWER on IntegriCloud