summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Pick up kernel variables/constants using sysctl rather than through /dev/memphk1998-06-302-80/+17
| | | | | | | | Use /dev/null for opening the kvm library, we don't need access to /dev/mem anymore. ps can now run without the setgid(kmem) bit. If it does it will not be able to show argv/envp for another uid's processes unless you are root.
* Allow /dev/null as path for the "/dev/mem" file, and assume that peoplephk1998-06-302-30/+38
| | | | | | | know what they're doing if they do that. This will allow ps to use the kvm_proc.c bits without having access to /dev/mem. Fix kvm_proc.c to not need /dev/mem for access to argv/envp
* Add 3 sysctl variables for future use by ps)1_phk1998-06-305-7/+34
|
* Fixed printf format errors.bde1998-06-3010-32/+51
|
* Fixed printf format errors.bde1998-06-3010-21/+22
|
* Fixed printf format errors.bde1998-06-304-9/+9
|
* Add PSE36 to the bits we know by name.phk1998-06-302-4/+4
|
* Fixed (1970's/old-GNU style) a missing declaration of a function thatbde1998-06-301-0/+1
| | | | doesn't return int.
* Fixed printf format errors.bde1998-06-308-21/+22
|
* Fixed (1970's style) missing declaration of a function that doesn'tbde1998-06-301-0/+2
| | | | return int.
* Fixed printf format errors. Didn't fix gross homemade varargs functionbde1998-06-301-1/+1
| | | | | Write(). Pointers are passed to it as longs, but it expects them to be passed as ints. The alpha non-fixes made this worse.
* Fixed the type of yyerror() (1970's style).bde1998-06-301-0/+1
|
* Fixed printf format errors.bde1998-06-301-1/+1
|
* Fixed printf format errors.bde1998-06-302-2/+2
|
* Fixed print format errors.bde1998-06-301-1/+1
|
* Fixed a printf format error. Didn't fix assumption that sigset_t isbde1998-06-303-3/+3
| | | | integral.
* Fixed printf format errors.bde1998-06-304-7/+7
|
* Fixed scanf format errors. The error handling is not quite bug for bugbde1998-06-301-7/+4
| | | | | | compatible. I think small negative uids are handled compatibly but other out of bounds ones are truncated differently for certain sizes of uid_t.
* Fixed printf format errors. Don't assume so many things about time_t.bde1998-06-301-20/+16
| | | | | | Obtained from: partial merge of ADO version tzcode96h (was fully merged in 1.10 but backed out in 1.11; the FreeBSD code for %s was earlier, prettier but buggier).
* Leading whitespace in Makefile are TABS not spaces....sos1998-06-302-4/+4
|
* Fixed printf format errors.bde1998-06-303-8/+10
|
* Nuked opt_defunct.h and kern_opt.c. config(8) now generates good enoughbde1998-06-308-86/+6
| | | | warnings about all unknown options.
* add new opt_nfs.h to cleanfiles...jmg1998-06-304-8/+8
|
* fix more of my breakage... :(jmg1998-06-302-2/+10
| | | | create opt_vmpage.h
* Sigh, we need this one now.phk1998-06-301-0/+1
|
* fix buildworld hopefully be3fore anyone complains...jmg1998-06-3010-10/+30
| | | | | | | | NFS_*TIMO should possibly be converted to sysctl vars (jkh's suggestion), but in some cases it looks like nfs keeps a copy of the value in a struct hash sizes are already ifdef'd KERNEL, so there aren't userland inpact from them...
* These are a selection of small problems and annoyances with the netbootphk1998-06-304-15/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | code. Apart from the first one, none really affect typical configurations but are nevertheless unnecessary limitations. We use netbooted PCs as student X-terminals and all of the below fixes have been useful. Apologies for including them all in one PR, but some are just too silly or trivial to send on their own! a) Newer SMC cards have hardware addresses starting with 00:E0. Netboot compares the MAC address with 00:00:C0 to determine if it is a WD/SMC card, so it fails to detect these. b) Netboot is unable to boot kzipped kernels, as it assumes that the kernel load address is 0x100000. c) Users can abort the booting process and enter arbitrary network addresses, or boot from a floppy disk. This can be a problem when netbooted machines are used in a student environment. d) It is not possible to set all options via bootp. For example there is no way to remotely force a client to boot from disk. With both SECURE_BOOT(patch below) and NO_TFTP defined, short of unplugging the eprom there is no way at all to get the client to boot locally. A generic solution is to allow complete netboot commands to be sent using bootp lines such as: :T132="diskboot": e) The last character of netboot command names is not checked. You can type 'iz 10.0.0.1' and it will be interpreted as 'ip'. This is only important if you try to add a new command which is the same as an existing one except for the last character. f) We have a configuration where multiple servers are willing to serve a diskless client. The tftp config file, or the bootptab entry on each server must specify the root and swap filesystems as 'ip:/fs' even though 'ip' will usually be the responding server's IP address. It would be nice if netboot could automatically prepend the server's IP address to an entry specified as just '/fs', so that multiple servers can use the same tftp or bootp configuration files. Admittedly this is hardly a major problem! PR: 7098 Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
* #include sys/libkern.h instead of stdlib.h.phk1998-06-301-2/+2
| | | | | | PR: 7105 Reviewed by: phk Submitted by: Robert Watson <robert+freebsd@cyrus.watson.org>
* Byte count statistics of multicast vifs are invalid.phk1998-06-301-2/+2
| | | | | | | The problem is caused by a wrong endianess in the sum. PR: 7115 Submitted by: Joao Carlos Mendes Luis <jonny@jonny.eng.br>
* remove option LINUX as it did nothing, add DEBUG_LINUX to debug thejmg1998-06-304-6/+14
| | | | | | linux emulation... (actually moved LINUX to opt_dontuse.h)
* move OVERRIDE_TUNER from i386 to general options... it's not i386jmg1998-06-303-7/+6
| | | | specific
* document options to hardwire GUS irq/dmas...jmg1998-06-306-5/+31
|
* document PCI_QUIET that prevents pci from compiling in so many stringsjmg1998-06-305-8/+28
|
* Re-alphabetize and update the subdir descriptions.jkh1998-06-301-2/+4
| | | | PR: 7116
* document some VM paging options for cache sizes:jmg1998-06-305-5/+28
| | | | | | PQ_NOOPT no coloring PQ_LARGECACHE used for 512k/16k cache PQ_HUGECACHE used for 1024k/16k cache
* make NO_SCSI_SENSE a proper option (already documented in LINT)jmg1998-06-302-1/+4
|
* document and make EXPORTMFS a new style optionjmg1998-06-304-4/+11
|
* Add rcsid. Remove unused #includes. Use err(3) and check spelling. Reorganizecharnier1998-06-304-188/+158
| | | | man page.
* Split usage string.charnier1998-06-306-24/+42
|
* Document -r flag, document use of TAPE env variable. Add rcsid. Use err(3).charnier1998-06-303-49/+67
| | | | Remove unused vars (-Wall).
* Do not dot terminate SEE ALSO list. Add rcsid, remove unused #includes. Err(3)charnier1998-06-302-40/+38
| | | | messages should start with a lowercase letter.
* Add SYNOPSIS section and change NULL to NUL in man page. Add rcsid, missingcharnier1998-06-304-148/+116
| | | | #includes. Use err(3).
* Add rcsid. Remove unused #includes. Use err(3).charnier1998-06-304-64/+68
|
* convert some nfs tunables to options, these are:jmg1998-06-3015-21/+81
| | | | | | | | | | | | | | | | NFS_MINATTRTIMO VREG attrib cache timeout in sec NFS_MAXATTRTIMO NFS_MINDIRATTRTIMO VDIR attrib cache timeout in sec NFS_MAXDIRATTRTIMO NFS_GATHERDELAY Default write gather delay (msec) NFS_UIDHASHSIZ Tune the size of nfssvc_sock with this NFS_WDELAYHASHSIZ and with this NFS_MUIDHASHSIZ Tune the size of nfsmount with this NFS_NOSERVER (already documented in LINT) NFS_DEBUG turn on NFS debugging also, because NFS_ROOT is used by very different files, it has been renamed to opt_nfsroot.h instead of the old opt_nfs.h....
* Fixed bogus dependency on `beforedepend'. File targets should neverbde1998-06-291-2/+2
| | | | depend on phony targets or they would always be out of date.
* Don't assume that time_t is long.bde1998-06-291-2/+2
|
* Don't assume that time_t is long. Fixed printf format errors.bde1998-06-291-4/+6
|
* Don't assume that time_t is long.bde1998-06-293-9/+18
|
* Don't assume that time_t is long.bde1998-06-292-4/+8
|
* Don't assume that time_t is long. Fixed printf format errors (don'tbde1998-06-291-20/+27
| | | | assume that ntohl() returns long).
OpenPOWER on IntegriCloud