Commit Graph

8576 Commits

Author SHA1 Message Date
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