Commit Graph

8633 Commits

Author SHA1 Message Date
xtraeme fc83e8aa5f - Improve usage().
- Replace malloc+memset(foo, 0, ...) with calloc calls.
2008-03-24 10:22:41 +00:00
mlelstv 2370a334ab Import Heimdal-1.1
more missing files
2008-03-22 09:29:55 +00:00
mlelstv b0f88a0388 Import Heimdal-1.1 2008-03-22 08:36:48 +00:00
plunky e0f590bc15 add the knowledge to create service records for "Personal Area Networking"
profiles
	NAP	Network Access Point
	GN	Group Network
	PANU	Personal Area Networking User
2008-03-19 23:15:19 +00:00
reed 9b88c4e54a Document some about being able to view differences and
toggling the different diff formats/tools.
2008-03-17 14:46:54 +00:00
yamt 8e73684fa1 update. 2008-03-17 09:57:11 +00:00
yamt 7c034e5b2c remove MAXNFSDCNT. 2008-03-17 09:52:26 +00:00
dholland dbb1ba5a88 Always clear the output string buffer in mkaliases(), to avoid reusing
old aliases from an earlier line if there were none here and thus
emitting a lot of crap into the database. PR lib/37711.
2008-03-09 01:29:34 +00:00
dsl f8907c6f49 Add a large warning about the possible side effect of using '-f'. 2008-03-06 21:27:41 +00:00
dsl f2ccbd036f Don't treat -f and an invalid flag.
Report the hex value of unknown unsupported (for the specified arch) flags.
2008-03-06 21:05:27 +00:00
lukem 57d60ef891 Use mkstemp(3) (in a hokey manner) instead of mktemp(3).
XXX: still not 100% "safe", except that we're in a protected directory.
XXX: arguably we should keep the fds open and fdopen(3) dup()s,
XXX: but we're in a protected directory so it shouldn't matter.
2008-03-03 05:07:43 +00:00
xtraeme f88582eca6 Xref arcmsr(4). 2008-02-29 20:59:37 +00:00
lukem cea4b7cdfd Simplify ypdb_open() API and just use it for opening the DB for reading.
Provide a separate ypdb_mktemp() API to open a temporary file read-write.
Use mkstemp() instead of mktemp().

NOTE: makedbm & mkalias tested ok.  I couldn't test ypxfer.
2008-02-29 03:00:47 +00:00
reed a87ec1e425 Remove the -v verbose switch from userinfo. It was not used.
Also remove reference to usermgmt.conf from userinfo manpage.

Discussed on tech-userlevel.
2008-02-27 19:12:56 +00:00
ad 60df1d7038 The ISO stuff has never worked, remove it. 2008-02-27 16:39:17 +00:00
ad 0565241b89 +#define _KERNEL
+#include <sys/types.h>
+#undef _KERNEL
2008-02-27 15:46:23 +00:00
lukem 3a5ea89a68 Correct the argument order to ypdb_open(). 2008-02-27 01:27:35 +00:00
lukem 21130793da Convert a simple tbl(1) table (which wasn't being formatted)
into a .Bl -tag.
2008-02-26 04:50:02 +00:00
dholland 09391c117a This file requires errno.h 2008-02-24 21:10:02 +00:00
dholland 988d859140 This file requires errno.h 2008-02-24 20:11:59 +00:00
dholland 68911b1cc8 This file requires errno.h 2008-02-24 19:31:30 +00:00
dholland cb572b466d This file requires errno.h 2008-02-24 19:17:57 +00:00
joerg d0251018da Update for pkg_install-20080222 and sort sources. 2008-02-22 16:20:53 +00:00
elad 52cf460a76 Following input from Matthew Mondor, some Veriexec documentation changes:
- Document the signatures file format in a veriexec(5) man-page,
  - Document the strict levels and a general Veriexec intro in veriexec(8)
    instead of security(8).

Okay blymn@.
2008-02-18 10:37:19 +00:00
matt 156e0dc02f scnkey is const char [][HEIGHT], not char [][HEIGHT] 2008-02-16 07:33:25 +00:00
matt 33ffa22643 cksum returns uint32_t, not u_long 2008-02-16 07:32:22 +00:00
matt de8753b3b0 cmdtab is supposed to be const. 2008-02-16 07:31:13 +00:00
matt 80d082b8df Change/fix tsptype to const char * const []; 2008-02-16 07:30:15 +00:00
matt 1cbe81874e Change inappropriate use of CFLAGS to CPPFLAGS. 2008-02-16 07:27:29 +00:00
matt 05f7d79518 Fix incorrect prototype. 2008-02-16 07:26:54 +00:00
matt f09665b707 Fix inconsistent prototype. Do some constification. 2008-02-16 07:26:00 +00:00
matt 435b563099 Add build_header.h to DPSRCS 2008-02-16 07:24:36 +00:00
matt 71217509be Change incorrect use of CFLAGS to CPPFLAGS. 2008-02-16 07:23:37 +00:00
drochner e6c8051893 -if an RSDT entry points to a table with invalid checksum, print
a warning and continue, rather than aborting -- some BIOSes disable
 tables this way (in my case the TCPA table if the TPM is disabled)
-no terminating newline in err(3) calls
2008-02-13 18:59:18 +00:00
tron 63fdde0f21 Avoid error message in "obsolete" check if "/usr/X11R6/lib" doesn't exist. 2008-02-13 12:55:56 +00:00
tron 01e5108f0e Don't fail the X11 check if "/usr/X11R6/lib" doesn't exist. This is
perfectly valid setup (e.g. no X11 or modular X11 from "pkgsrc").
2008-02-13 12:52:14 +00:00
joerg 5d2d87e3f2 Fix quoting of string literals, printing of names and add most ACPI 3.0
opcodes. This is good enough to create output that can be compiled with
acpi-iasl to the same binary as it would create from its down ASL dump
on my laptop, when I manually fix the use of reserved identifiers in the
DSDT.
2008-02-13 11:47:36 +00:00
dyoung d4f4828ee0 Do not #include <sys/device.h> from userland. 2008-02-11 22:43:39 +00:00
elad c61569c8b3 Add Christos to the AUTHORS section. 2008-02-11 18:05:58 +00:00
elad bdcc6c320e There's no use for the '-l' flag, so don't document it. Viewing PaX flags
is done by issuing "paxctl file" with no flags, so note that it the
man-page instead.

From Michal Spacek, thanks!
2008-02-11 18:03:14 +00:00
ad 64da32e634 Don't decode union vnodes or f_usecount. XXX A lot of this belongs to gdb. 2008-02-11 15:22:43 +00:00
plunky 307f630315 remove unused code (it will never be used) 2008-02-11 11:26:15 +00:00
plunky 0bda0fe19b add details relating to v2.1 of bluetooth specification 2008-02-11 11:23:46 +00:00
elad 8f8e9e057c Xref security(8) from veriexec(4), veriexec(9), veriexecctl(8), and
veriexecgen(8).

Suggested by Matthew Mondor.
2008-02-10 19:32:23 +00:00
dholland d7c7049a10 Fix typo in error message 2008-02-09 19:15:59 +00:00
yamt 603e4b9abd update for _sched_{get,set}param changes. from rmind@. 2008-02-09 17:01:51 +00:00
mrg ecc90aa046 make all sun2 use -O0 and move most of the hacks out into just 3 files. 2008-02-09 02:37:21 +00:00
joerg 2ec9a34ee9 Deal with statvfs compat issue by including it in nbcompat.h for now. 2008-02-07 23:46:47 +00:00
hubertf f81f738d09 disclaim copyright 2008-02-04 01:28:20 +00:00
joerg 32cb208674 Catch up with pkg_install-20080202: pkg_info needs libarchive, libbz2
and libz now.
2008-02-03 21:27:27 +00:00
dogcow 8f7115c4c1 make it compile for the !defined(DEBUG) case. 2008-02-03 09:25:49 +00:00
christos f408a0fef8 comment out some asserts for now. 2008-02-03 03:40:52 +00:00
christos 000f6e1084 PR/37932: Yakovetsky Vladimir: build distribution with USE_FORT fails
Remove unused bcopy crap
2008-02-02 17:16:14 +00:00
tsutsui 4da2d6da3a Add a findstage2 function (which returns block numbers where
the secondary boot is stored to embed them into the primary bootxx)
for ext2fs.

Currently disabled because there is no primary boot block
which supports ext2fs, but it might help someone in some day.
2008-02-02 17:01:03 +00:00
itohy 9ef5327a26 Try to warn possibly unbootable conditions:
- no disklabel
 - no partition "a"
 - partition "a" exceeds 2GB boundary
2008-02-02 16:46:15 +00:00
itohy d87794fe47 Change be32toh to htobe32 where applicable. 2008-02-02 13:37:13 +00:00
itohy 347910d40e d_npartitions field of struct disklabel is 16bit, not 32bit. 2008-02-02 13:09:47 +00:00
xtraeme 16f978c748 Fix a bug in the 'refresh-timeout' device property that was giving
the same value to all devices even if the configuration file was
changed.
2008-02-02 01:44:04 +00:00
ad 2290e4283f Expunge references to lockmgr. 2008-01-30 14:16:42 +00:00
wiz 1a4ecbe12b Use more markup. 2008-01-29 07:05:30 +00:00
christos 758a0bc57f Add stubs for non-crypto compilation. 2008-01-26 21:51:06 +00:00
christos 9a8cc3a777 Adjust to the new wpa tree structure. 2008-01-26 21:50:21 +00:00
rmind ef515ac1dc Use _SC_NPROCESSORS_CONF instead of MAXCPUS. 2008-01-26 17:52:08 +00:00
ad ea9faa6742 lockstat: no longer track lockmgr() events. 2008-01-26 14:29:31 +00:00
wiz a7f30b5c9c Sort options. Remove superfluous .Pp. Grammar improvements.
Simplify macro usage. Use more macros.
2008-01-26 14:27:42 +00:00
christos 0666855359 PR/37865: Wolfgang Stukenbrock: yppoll uses only UDP to request the map-info 2008-01-25 19:58:53 +00:00
xtraeme 4ecda2ed63 Fixed two warnings:
- Missing .El directive.
	- Fix .Bl width argument.

Not being wizd yet, but I try...
2008-01-25 00:05:35 +00:00
rmind 75f3a93931 Add schedctl(8) manual page.
/etc/rc.d/wizd start
2008-01-24 19:34:05 +00:00
ad 703069c0e9 specfs changes for PR kern/37717 (raidclose() is no longer called on
shutdown). There are still problems with device access and a PR will be
filed.

- Kill checkalias(). Allow multiple vnodes to reference a single device.

- Don't play dangerous tricks with block vnodes to ensure that only one
  vnode can describe a block device. Instead, prohibit concurrent opens of
  block devices. As a bonus remove the unreliable code that prevents
  multiple file system mounts on the same device. It's no longer needed.

- Track opens by vnode and by device. Issue cdev_close() when the last open
  goes away, instead of abusing vnode::v_usecount to tell if the device is
  open.
2008-01-24 17:32:52 +00:00
jnemeth 2f20e8136d PR/37467 - Ben Wong -- add some information about the default account file 2008-01-24 05:27:10 +00:00
dyoung 1ebd488e32 #include <stdbool.h> for bool. 2008-01-21 20:46:58 +00:00
dholland bf86e75394 Improve an error message. Was buried in PR 6594 from Greg A. Woods. 2008-01-19 23:01:35 +00:00
seanb 56143d3b3c - Set progname before dereference. 2008-01-16 19:18:06 +00:00
jmcneill 379c0e1a15 Workaround potential crash in acpidump, from Yorick Hardy. 2008-01-15 19:08:00 +00:00
rmind 5c71a4d49f Implementation of processor-sets, affinity and POSIX real-time extensions.
Add schedctl(8) - a program to control scheduling of processes and threads.

Notes:
- This is supported only by SCHED_M2;
- Migration of LWP mechanism will be revisited;

Proposed on: <tech-kern>. Reviewed by: <ad>.
2008-01-15 03:37:10 +00:00
yamt 93d6e7a34f update comments 2008-01-14 12:49:54 +00:00
yamt b471ec2032 whitespace 2008-01-14 12:48:52 +00:00
yamt c6345d661d add a script to produce something like opannotate. 2008-01-14 12:47:59 +00:00
yamt 9a2ecb37c6 rename fmt.sh to tpfmt.sh 2008-01-14 12:42:02 +00:00
dholland c6fda077dc Bail out cleanly if kernel nfs server support is missing, instead of
dumping core.
2008-01-13 16:39:07 +00:00
seanb 40918b5ad1 - re-enable 'pro' keyword to allow creation / deletion
of 'proxy only' entries (SIN_PROXY flag set).
2008-01-10 14:16:26 +00:00
xtraeme 00e40eb383 Staticify fully now. 2008-01-09 16:08:33 +00:00
xtraeme 9b5c4f4208 KNF: bzero -> memset, use EXIT_{FAILURE,SUCCESS}, setprogname() and
getprogname(), etc.
2008-01-09 16:06:21 +00:00
xtraeme d8ea295bf8 Pass WARNS=4. 2008-01-09 15:57:06 +00:00
xtraeme cfebb94aea Add support for GPIO_PIN_PULLDOWN, GPIO_PIN_INVIN, GPIO_PIN_INVOUT,
from OpenBSD.
2008-01-09 15:56:27 +00:00
xtraeme b3bb086550 Xref gcscpcib(4). 2008-01-09 15:50:00 +00:00
tnn 0214c0c459 improve usage() 2008-01-09 00:01:33 +00:00
christos 0c134a3f67 Fix -D option, from Jukka Salmi 2008-01-07 16:10:57 +00:00
yamt 1f8910c5fa mention SIZEOF_PTR 2008-01-05 22:54:49 +00:00
yamt af7b67af68 PR/37662 was fixed. 2008-01-05 22:49:59 +00:00
reed 1c05fbcafd Tell what happens if reaches max spawn rate.
(I added this because I forgot it was ten minutes
as defined by RETRYTIME in inetd.c.)
2008-01-04 18:21:35 +00:00
yamt 2d6f41e754 usage: be a little more understandable. 2008-01-03 15:01:07 +00:00
yamt 40f32b06ab use the SIZEOF_PTR environment variable if set. 2008-01-03 14:21:53 +00:00
christos 7ee4122ccd get only the last path component of the program name. 2008-01-03 04:13:54 +00:00
yamt 2754ee1338 note what's sampled. 2008-01-02 01:17:41 +00:00
yamt 9bc4e5ed37 explain the output of fmt.sh 2008-01-02 01:06:31 +00:00
yamt 7c8b847a3a minimum documentation. 2008-01-01 23:42:56 +00:00
yamt 72af27bc88 comment a usage. 2008-01-01 21:39:50 +00:00
yamt cfa944ec37 a dumb formatter for tprof. should be rewritten. 2008-01-01 21:37:50 +00:00
yamt 8415a5d75a a dumb program to talk with the tprof driver. 2008-01-01 21:33:26 +00:00