summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Delete stray reference to vsnprintf().Tim J. Robbins2002-09-211-3/+2
| | | | Notes: svn path=/head/; revision=103740
* Add implementations of the wprintf() family of functions, which performTim J. Robbins2002-09-2111-4/+2443
| | | | | | | formatted wide-character output. Notes: svn path=/head/; revision=103739
* Rename the ftp log filename for compatability with OpenBSD and NetBSD.Mark Murray2002-09-213-3/+3
| | | | | | | Requested by: ru Notes: svn path=/head/; revision=103738
* Restrict visibility of wcslcat() and wcslcpy() to the __BSD_VISIBLE case.Tim J. Robbins2002-09-211-2/+5
| | | | Notes: svn path=/head/; revision=103737
* Remove empty #if*/#endif clauses.Poul-Henning Kamp2002-09-213-7/+0
| | | | Notes: svn path=/head/; revision=103736
* Fix typo.Masafumi Max NAKANE2002-09-211-1/+1
| | | | Notes: svn path=/head/; revision=103735
* Remove #ifdef/#endif 3 years after the stuff they protected was removed.Poul-Henning Kamp2002-09-213-6/+0
| | | | | | | Spotted by: peter. Notes: svn path=/head/; revision=103734
* Fix a 3 year old oversight: Remove the #ifdef/#endif pair now that therePoul-Henning Kamp2002-09-215-10/+0
| | | | | | | | | is nothing between them anymore. Spotted by: peter. Notes: svn path=/head/; revision=103733
* Reduce namespace pollution.Alan Cox2002-09-211-3/+0
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=103732
* Claim to be 1003.1-2001. We're not quite, yet, but that's a more usefulGarrett Wollman2002-09-213-150/+86
| | | | | | | | | | | | | | | | | | | | | target than any pre-C99 POSIX (which we could never have conformed to under our ia32 ABI). Document why HOST_NAME_MAX (and hopefully other similar constants in the future) is not defined. Define in <sys/unistd.h> all 1003.1-2001 option and option group constants which did not meet the standard for inclusion in <unistd.h>. Delete from <sys/unistd.h> all sysconf(3) constants and those option constants which were moved to <unistd.h>. pathconf(3) keys remain here as pathconf() is implemented directly as a system call. Add a comment noting brokenness in some .1e additions here. Fix whitespace in definition of constants for rfork(). (5 of 5) Notes: svn path=/head/; revision=103731
* Initiate deorbit burn sequence for sysctl CTL_USER MIB branch.Garrett Wollman2002-09-211-105/+351
| | | | | | | | | | | | | | | | Use the correct constants directly from sysconf() rather than calling sysctl() to tell us the (still compiled-in) value. Leave the CTL_POSIX1B stuff alone for now (but I'd like to see this replaced with a single structure returning all of the relevant information). Implement all of the keys from 1003.1-2001 that we can. Ensure that the build will break if someone redefines an option constant to zero without implementing the necessary presence-detection logic here. (4 of 5) Notes: svn path=/head/; revision=103730
* Define constants for those POSIX options and option groups which areGarrett Wollman2002-09-211-18/+237
| | | | | | | | | | | | | | | | | | | | (or would be) implemented (or not) exclusively in user-land. A threads expert should check over the values I have set to make sure that they correctly reflect reality. Move all sysconf() keys here from <sys/unistd.h> as they are not implemented in the kernel. Add new keys from 1003.1-2001 final text. (Some additional keys are expected in TC1.) Add some protection against redundant declarations between <stdlib.h> and <unistd.h> for some functions which XSI requires in the former and BSD traditionally declares in the latter. Restrict qualifiers and other changes from 1003.1-2001 have not been made to the functions prototyped here. (3 of 5) Notes: svn path=/head/; revision=103729
* Use new visibility macros. Reorder some disordered declarations. AddGarrett Wollman2002-09-211-52/+104
| | | | | | | | | new 1003.1-2001 declarations, commented out in cases where we do not implement the function. Note that strtoq() and strtouq() are slated for deletion in 6.0. (2 of 5) Notes: svn path=/head/; revision=103728
* Use new visibility macros. (1 of 5)Garrett Wollman2002-09-211-10/+10
| | | | Notes: svn path=/head/; revision=103727
* Make the threatened fts(3) ABI fix. FTSENT now avoids the use of the structGarrett Wollman2002-09-2111-49/+206
| | | | | | | | | | | | | | | | | | | hack, thereby allowing future extensions to the structure (e.g., for extended attributes) without rebreaking the ABI. FTSENT now contains a pointer to the parent stream, which fts_compar() can then take advantage of, avoiding the undefined behavior previously warned about. As a consequence of this change, the prototype of the comparison function passed to fts_open() has changed to reflect the required amount of constness for its use. All callers in the tree are updated to use the correct prototype. Comparison functions can now make use of the new parent pointer to access the new stream-specific private data pointer, which is intended to assist creation of reentrant library routines which use fts(3) internally. Not objected to in spirit by: -arch Notes: svn path=/head/; revision=103726
* Insert a missing call to MAC protection check for delivering anRobert Watson2002-09-211-1/+5
| | | | | | | | | | | mbuf to a bpf device. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Submitted by: phk Notes: svn path=/head/; revision=103725
* Remove unnecessary #include <assert.h>; it was used to bring in theTim J. Robbins2002-09-2120-20/+0
| | | | | | | _DIAGASSERT macro on NetBSD, but we don't need it. Notes: svn path=/head/; revision=103724
* Add missing semicolonPeter Grehan2002-09-201-1/+1
| | | | Notes: svn path=/head/; revision=103723
* Assert my copyright on this file (using the default 2-clause BSD).Poul-Henning Kamp2002-09-201-11/+4
| | | | | | | | The vast majority of the contents is from my keyboard and no significant pieces remain of the former copyright holders code. Notes: svn path=/head/; revision=103722
* Remove a prototype for a function that is no longer called.Mark Murray2002-09-201-1/+0
| | | | Notes: svn path=/head/; revision=103721
* Install empty ftp.log file to start off ftp logging.Mark Murray2002-09-201-0/+2
| | | | Notes: svn path=/head/; revision=103720
* Log ftpd stuff in the same way that we log lpd stuff. Too many ftpd'sMark Murray2002-09-202-0/+2
| | | | | | | are attacked for us to throw away this sort of evidence. Notes: svn path=/head/; revision=103719
* Fix an infinite loop when _fetch_read() can return 0 (if theAlfred Perlstein2002-09-201-1/+5
| | | | | | | | connection is broken), take this into account and return at this point. Notes: svn path=/head/; revision=103718
* The resolver library does a pretty acceptable set of domainMark Murray2002-09-201-19/+2
| | | | | | | | | | | | | suffix attempts before failing. No need to try again by hand, particularly when it fills your log with failures because localhost.example.com..example.com fails to resolve. Also improve the log message that helped find this error. There is still (maybe) an uninitialised pointer problem here, but in a month of testing I haven't triggered it. Notes: svn path=/head/; revision=103717
* Kerberised NFS has never (as far as I can tell) worked outsideMark Murray2002-09-201-12/+2
| | | | | | | | | BSD 4.4. Nuke mention of Kerberos from the documentation here. MFC after: 1 week Notes: svn path=/head/; revision=103716
* Initialize a variable in order to fix when faced with picky compilers.Eric Melville2002-09-201-0/+2
| | | | | | | Sponsored by: Apple Notes: svn path=/head/; revision=103715
* (This commit touches about 15 disk device drivers in a very consistentPoul-Henning Kamp2002-09-2022-219/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and predictable way, and I apologize if I have gotten it wrong anywhere, getting prior review on a patch like this is not feasible, considering the number of people involved and hardware availability etc.) If struct disklabel is the messenger: kill the messenger. Inside struct disk we had a struct disklabel which disk drivers used to communicate certain metrics to the disklayer above (GEOM or the disk mini-layer). This commit changes this communication to use four explicit fields instead. Amongst the benefits is that the fields do not get overwritten by wrong or bogus on-disk disklabels. Once that is clear, <sys/disk.h> which is included in the drivers no longer need to pull <sys/disklabel.h> and <sys/diskslice.h> in, the few places that needs them, have gotten explicit #includes for them. The disklabel inside struct disk is now only for internal use in the disk mini-layer, so instead of embedding it, we malloc it as we need it. This concludes (modulus any mistakes) the series of disklabel related commits. I belive it all amounts to a NOP for all the rest of you :-) Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=103714
* Extend the lint handling a bit.Mark Murray2002-09-203-6/+14
| | | | | | | | | | | | o Make it possible to prevent parts of the tree from being linted (say) during a 'make world' by setting NOLINT in a leaf Makefile. o Make "make lint" work (better) for executable programs. o Clean up (nuke!) a syntax damaged pipeline. Notes: svn path=/head/; revision=103713
* Remove NVIDIA ioctl bits. They will be provided in a kernel module.Matthew N. Dodd2002-09-202-29/+0
| | | | Notes: svn path=/head/; revision=103712
* Axe unused include.John Baldwin2002-09-203-3/+0
| | | | Notes: svn path=/head/; revision=103711
* up gif during setup.Hajimu UMEMOTO2002-09-203-0/+3
| | | | Notes: svn path=/head/; revision=103710
* mistakenly set IFF_UP by SIOCSIFPHYADDR.Hajimu UMEMOTO2002-09-201-4/+0
| | | | | | | Obtained from: KAME Notes: svn path=/head/; revision=103709
* This file does not <sys/disklabel.h>Poul-Henning Kamp2002-09-201-1/+0
| | | | | | | Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=103708
* Remove unused #includes: <sys/disk.h> <sys/devicestat.h> and <sys/sysctl.h>Poul-Henning Kamp2002-09-204-11/+0
| | | | | | | | Sponsored by: DARPA & NAI Labs. Approved by: sos Notes: svn path=/head/; revision=103707
* We need neither <sys/diskslice.h> nor <sys/disklabel.h> here.Poul-Henning Kamp2002-09-202-4/+0
| | | | | | | Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=103706
* Put an XXX comment here to point somebody in the right direction.Poul-Henning Kamp2002-09-201-0/+1
| | | | Notes: svn path=/head/; revision=103705
* Fix various style(9) bugs:Mike Barcroft2002-09-201-19/+19
| | | | | | | | | | | o Unusual order of #ifndef _FOO_H_, followed by license. o Missing tabs in typedef. o Missing tabs in struct between types and member names. o Unaligned, unordered function prototypes. o Reversed comment for #endif. Notes: svn path=/head/; revision=103704
* For reasons now lost in historical fog, the bounds_check_with_label()Poul-Henning Kamp2002-09-207-358/+58
| | | | | | | | | | | | | | | function were put in i386/i386/machdep.c from where it has been cut and pasted to other architectures with only minor corruption. Disklabel is really a MI format in many ways, at least it certainly is when you operate on struct disklabel. Put bounds_check_with_label() back in subr_disklabel.c where it belongs. Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=103703
* We don't need the <sys/disklabel.h> include for alpha anymore.Poul-Henning Kamp2002-09-201-3/+0
| | | | | | | Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=103702
* #include <sys/disk.h> to get disk_err() prototype.Poul-Henning Kamp2002-09-203-0/+3
| | | | | | | Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=103701
* Fix k5admind by dropping libkadm5clnt from LDADD.Jacques Vidrine2002-09-202-2/+2
| | | | Notes: svn path=/head/; revision=103700
* Kernel MIB name for disabling ACPI was changed.Makoto Matsushita2002-09-201-1/+1
| | | | | | | Pointed out by: iwasaki Notes: svn path=/head/; revision=103699
* Reduce <sys/disklabel.h> poisoning a bit.Poul-Henning Kamp2002-09-202-1/+1
| | | | | | | Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=103698
* Reorder libraries in LDADD in case some wants to staticallyJacques Vidrine2002-09-202-4/+6
| | | | | | | link these applications. Notes: svn path=/head/; revision=103697
* Make ipropd-slave/ipropd-master actually work. These applicationsJacques Vidrine2002-09-202-2/+2
| | | | | | | | | | were being linked against the client Kerberos administration library, when they must be linked against the server library, resulting in segfaults early in the game. I suspect these have never been tested before :-( Notes: svn path=/head/; revision=103696
* Remove unneeded #include <sys/disklabel.h>Poul-Henning Kamp2002-09-201-1/+0
| | | | | | | Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=103695
* Include <sys/ioccom.h> directly, rather than indirectly throughPoul-Henning Kamp2002-09-201-1/+1
| | | | | | | | | <sys/disklabel.h> Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=103694
* Remove even more Copy&Pasted sets of #includes.Poul-Henning Kamp2002-09-202-16/+0
| | | | Notes: svn path=/head/; revision=103693
* Remove unused #includes. Looks amacingly like the exact same setPoul-Henning Kamp2002-09-201-6/+0
| | | | | | | | | as I just removed from ncr53c500_pccard.c. Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=103692
* Remove #include of <sys/disklabel.h> (and a few other unused #includes IPoul-Henning Kamp2002-09-201-8/+0
| | | | | | | | | noticed while here). Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=103691