Commit Graph

8041 Commits

Author SHA1 Message Date
apb 9271fd890c Revert previous. MAKEDEV.subr no longer exists. 2007-03-03 06:43:46 +00:00
wiz cf101a0bdd New sentence, new line. 2007-03-02 20:48:50 +00:00
wiz 0e2fbb0de1 Some English improvements. 2007-03-02 20:18:59 +00:00
wiz 0021a7283b Links to pkgsrc(7) instead of packages(7). Bump date. 2007-03-02 11:36:38 +00:00
garbled 9cc2c6c46c Add support for the prep nvram device to eeprom. 2007-03-01 16:49:48 +00:00
apb 8c150ea895 Convert the guts of do_makedev() into a loop that checks both MAKEDEV
and MAKEDEV.subr.
2007-03-01 07:51:26 +00:00
apb 34b8a708b7 If MAKEDEV.subr is updated, remember to run MAKEDEV later. 2007-03-01 07:47:13 +00:00
pooka ad70c5ab2e one more size_t -> uint32_t 2007-02-27 14:17:14 +00:00
pooka cbb615f4db size_t -> uint32_t cleanup to make LP64 build
noticed by wiz
2007-02-27 13:28:39 +00:00
plunky 7c710de82e use CMSG_LEN and SOCKCREDSIZE macros to validate length because when
there are zero extra groups, the size of the cmsg is smaller than
sizeof(struct sockcred). This fixes a problem with registering
services during rc.d

while here, validate the pdu header length before using the contents
2007-02-22 20:49:32 +00:00
hubertf 1de6c4ec42 That one needs ctype.h, too (which was removed from the mrouted/defs.h
file for cleanup earlier today)
2007-02-22 01:29:35 +00:00
hubertf 64cd915703 Pull in ctype.h after it was removed from 'defs.h' in previous commit
to src/usr.sbin/mrouted.
2007-02-22 01:25:13 +00:00
hubertf b5f80fa241 Move ctype.h header from defs.h to main.c where it's really used
From: Slava Semushin <slava.semushin@gmail.com>
2007-02-21 21:01:10 +00:00
hubertf 5873860993 - Removed unused ctype.h header
- ANSI'fy
  - Removed __P() macros

From: Slava Semushin <slava.semushin@gmail.com>
2007-02-21 20:57:55 +00:00
hubertf e6603d3964 Remove unneeded ctype.h header
From: Slava Semushin <slava.semushin@gmail.com>
2007-02-21 20:53:59 +00:00
briggs d298894138 Install sys/dev/bluetooth/btuart.h.
Descend into and build/install usr.sbin/btuartd.
Install etc/rc.d/btuartd.
2007-02-20 21:29:08 +00:00
kiyohara 10abd6f2e2 Supprot Bluetooth HCI UART (H4) driver and daemon. 2007-02-20 16:53:20 +00:00
pooka b44590b7d0 * document -s
* explicitly mention that this implements sshfs functionality
2007-02-17 22:19:20 +00:00
wiz aa4aca15b3 Sort SEE ALSO. 2007-02-17 08:45:36 +00:00
dsl 486d411937 Add a -f (force) parameter to installboot(8).
If specified then checks on the disks BPB are not done, and any existing BPB
is deleted.
This is needed soince newfs(8) doesn't overwrite the BPB - which is basically
the FAT superblock.
Update documentation and add an example of using bootxx_fat16.
2007-02-15 22:23:11 +00:00
christos 4ea9e53dee From Edgar: fix ino computation; allocate space for the superblock after
we know how big it is.
2007-02-15 19:00:11 +00:00
pooka f5fed5348b Support reclaim. To support dotdot lookup, here we leave the
reclaimed nodes hanging until all their children have been reclaimed
and then reclaim everything we can as far up to root as possible.
This is because the file system structures are currently interlinked
in a fashion which would make dotdot lookup based on purely a path
instead of a in-memory node parent member pointer very difficult.
Yes, this deserves a closer look some day.
2007-02-15 13:07:29 +00:00
apb 339d48d326 Run pwd_mkdb before running mtree.
Reported by Hauke Fath in PR 35570.
2007-02-11 15:04:17 +00:00
pooka 986368958f Don't destroy puffs_nodes in success paths of remove and rmdir: the
kernel assumes that they will not be recycled until reclaim.
2007-02-10 02:53:27 +00:00
pooka 306e0025cf Implement "superreaddir". This issues a getattr for all the
directory entries already in readdir and caches the results instead
of waiting for each individial getattr from the kernel.  For
high-latency links the difference in "ls -l" is quite astounding
and even on my lan "ls -lR" is faster than for nfs in a normal
directory hierarchy (i.e. not one artifically setup to have thousands
of files per directory).

TODO: implement some sort of bandwidth/latency measurement in the
code and enable or disable this option based on than information
(and a command-line flag).
2007-02-09 23:36:17 +00:00
hubertf 82105ff74f Make the output of 'list -n' aligned by always printing 8 hex digits.
Suggested by Nicolas Joly <njoly@pasteur.fr> in private mail.
2007-02-08 23:27:07 +00:00
elad 4a0f293388 revert previouses 2007-02-08 05:54:25 +00:00
elad d1a83ca2d5 Add a comment indicating why this program is installed 0550, as suggested
by christos@. The comment reads:

	# This program is set 0550 because, as security(8) states, it has
	# the potential to deplete kernel memory, under certain conditions.
2007-02-08 02:59:51 +00:00
elad db9dbd11ac Install paxctl(8) as 0550. 2007-02-08 02:25:44 +00:00
wiz cc97ec4b3c Drop trailing whitespace, remove superfluous Pp. 2007-02-07 06:47:33 +00:00
reed aa7b0cce96 Add an example on how the data is generated.
Point to pkg_info(1).
Add a brief history.
2007-02-06 01:22:40 +00:00
elad f0d477cb85 Add perusertmp. Pointed out by Geoff Wing, thanks! 2007-02-05 02:34:30 +00:00
cbiere 2ed96b7598 * timed and timedc:
* Sprinkle const.
   * Use EXIT_FAILURE instead of 1.
   * Use err(), errx().
   * Use calloc() instead of malloc()+memset().
 * timedc:
   * Non-terminated hostnames or unknown tsp_type could
     cause a crash due to out-of-bounds reads in msite().
   * Check the received packet size.
   * Merged duplicated code into functions.
   * Moved variables into the relevant scopes.
   * Use connect() so that only the receiver can reply,
     send()/recv() can be used and rejected packets
     are immediately noticed by recv() instead of causing
     timeouts.
   * Updated manpage.
2007-02-04 21:17:01 +00:00
elad 3044852cc5 The hashing routines (MD5File() and co.) can do dynamic allocation, so
take advantage of that instead of an ugly hard-coded MAXHASHLEN limit
that needs updating.

I think this was suggested by cube@ years ago.
2007-02-04 08:03:18 +00:00
uebayasi a045df12cc Use periods in tables consistently. 2007-02-01 06:50:15 +00:00
uebayasi a77b0db767 New sentence new line. 2007-02-01 06:46:27 +00:00
elad a8c0f0c72e Move paxctl from usr.bin/paxctl to usr.sbin/paxctl, and make it an admin
tool (man-page moved from section 1 to section 8).
2007-01-30 19:40:07 +00:00
dogcow 8e180a72c2 emasculate debugging mode for the hosttool version of makefs, to avoid various
hairy endian-decoding macros/inlined functions/etc.
2007-01-30 01:46:33 +00:00
christos a8accd0f06 mips1 does not have the right assembly instructions. 2007-01-30 00:49:15 +00:00
christos db3454e373 powerpc assembly does not work. 2007-01-30 00:48:27 +00:00
christos f8ee9d613d deal with x86_64 build failure. 2007-01-29 17:33:30 +00:00
hubertf 0cc1170149 Xref drvctl(8), bump date 2007-01-29 00:48:34 +00:00
cbiere 4ce24268ac Added user and group "_timedc" for timedc. 2007-01-28 16:39:29 +00:00
cbiere 28ea2557d4 Let timedc use the dedicated account "_timedc" for dropping privileges
instead of abusing the account "nobody".
2007-01-28 13:51:29 +00:00
dogcow f36028509f revert this change, too. 2007-01-28 10:40:19 +00:00
dogcow f7c54e5b52 Due to recent changes in the cd9660 code, crosscompilation of tools/makefs
now fails due to the use of [be]e{16,32}dec. Add a compat header, and force
the inclusion of <sys/endian.h>.
2007-01-28 09:19:33 +00:00
christos 16317a9d71 Changes for bind-9.4.0-rc2 2007-01-27 21:36:13 +00:00
cbiere 0f2ebef2a8 * timedc is no longer setuid-root and is only usable by root due to the
use of a raw socket for ICMP; thus there is also no need to differ
   between privileged and unprivileged commands.
 * Switch to user "nobody" after allocating the raw socket.
 * Close all file descriptors above 2 (just in case).
2007-01-27 17:57:45 +00:00
cbiere 0a2098a6e9 bind() in priv_resources() is now unnecessary as pointed out by christos. 2007-01-27 00:37:56 +00:00
cbiere 2ca958bb2f * Fixed a 64-bit issue in daydiff().
* Check the packet size and sender address in daydiff().
 * priv_resources(): Use bind() instead of bindresvport() because an
   reserved port is not required. This also resolves the interoperability
   issue reported in PR bin/35479.
2007-01-27 00:15:50 +00:00