Commit Graph

9433 Commits

Author SHA1 Message Date
joerg
f2670f529d Kill -offset without argument. 2009-08-24 09:45:30 +00:00
skrll
7842ef85bb No-one wins in rump vs link sets.
XXX Someone(tm) needs to fix this properly.
2009-08-21 14:41:22 +00:00
elad
9229a44cd8 PR/41911: Jukka Ruohonen: A bug in veriexecgen
Do as suggested and add the missing 'T' to getopt() and update usage.

Thanks for the PR!
2009-08-21 04:09:41 +00:00
he
463a3128d5 Use NOAOUT so that this builds without a.out support, and enable
that define if we're building for mips.
2009-08-20 22:26:19 +00:00
he
2a7ab7d442 Define NOAOUT if we're building for mips. 2009-08-20 21:59:12 +00:00
plunky
b7dec17fbf add a per-unit master setting, to control requesting the master role
when accepting connections.
2009-08-20 21:40:59 +00:00
he
74fd55ff5a Remove what appears to be a spurious include of a.out.h. 2009-08-20 21:25:59 +00:00
wiz
acf7ed853a New sentence, new line. 2009-08-20 15:59:57 +00:00
joerg
5050cfce50 Simplify. 2009-08-20 15:51:28 +00:00
plunky
c1cd0cdec6 clarify role switching for "switch" option
bump date for wiz
2009-08-20 11:45:51 +00:00
wiz
bda39b5016 Bump date for previous. 2009-08-18 21:31:51 +00:00
plunky
b486cef1fe update the "Class of Device" information, now that the Assigned Numbers
documents are available at www.bluetooth.com
2009-08-18 17:40:31 +00:00
drochner
d2c5cda8f9 give up root's supplementary group memberships when switching
to _sdpd._sdpd privileges, approved by plunky
2009-08-13 17:50:41 +00:00
wiz
96f565924e Fix parenthesis problem in ifdef SVR4 code.
From Henning Petersen in PR 41839.
2009-08-07 13:55:22 +00:00
wiz
18de4741b9 Improve wording, based on suggestions by Jukka Ruohonen in private mail. 2009-08-06 22:01:36 +00:00
mbalmer
da7930a7f1 Add gpio to rc checks.
Diff from Geoff Wing <gcw@pobox.com>, thanks.
2009-08-06 08:31:58 +00:00
pooka
ceedea85d6 run lfs cleaner 2009-08-06 01:00:04 +00:00
pooka
3e3523f9c8 add commented-out rump_fdesc along with an explanation 2009-07-31 19:21:55 +00:00
pooka
ad25a49dbe rump_fdesc. it works, but it's actually not very sexy out of
developer clothes, since the server cannot fetch the fd information
from the kernel.  Therefore, don't build it by default.
2009-07-31 19:18:46 +00:00
tsutsui
c3ee8e5613 - use program header rather than section header to find file offset for vmaddr
- make sure that passed vmaddr is in TEXT or DATA section
2009-07-30 15:56:01 +00:00
tsutsui
fcb0df9205 WARNS'fy sources which are left for reference.
src/usr.sbin/mdsetimage has been superseded by src/gnu/usr.sbin/mdsetimage
for toolchain to handle cross build binaries, but these old sources for
local executable binaries still can be used for tools to patch binaries,
like binpatch utility in sys/arch/amiga/stand and sys/arch/atari/stand.
2009-07-30 15:16:37 +00:00
mbalmer
32eeaba5d3 Reworked gpioctl(8) command to reflect recent gpio(4) changes. 2009-07-25 16:18:09 +00:00
pooka
92eb973615 don't need absolute paths for fs component names 2009-07-21 00:40:44 +00:00
pooka
d6d0aeb45d Make rump_lfs work again: load fs components dynamically instead
of trying to link them in on the command line and get pounded by
link set failage.
2009-07-21 00:37:25 +00:00
christos
1e5d85413c moduli moved with openssh 2009-07-20 21:03:42 +00:00
mbalmer
6ef876ad7c Use EXIT_FAILURE/EXIT_SUCCESS instead of numerical values when exiting. 2009-07-18 08:35:19 +00:00
jakllsch
0f020c836e doswitch() has changed the value of argc by the time it's checked here,
adjust accordingly.
2009-07-17 20:31:20 +00:00
yamt
805e61e887 draft-ietf-syslog-protocol-23 -> RFC 5424 2009-07-16 13:33:44 +00:00
wiz
c267463d84 New sentence, new line; remove trailing whitespace. 2009-07-14 08:24:15 +00:00
dholland
b7c32656db Fix typo; also do some minor wording adjustments nearby. 2009-07-14 07:43:16 +00:00
roy
7027866a09 Rename internal getline() function to get_line() so it does
conflict with the soon to be added getline(3) libc function.
2009-07-13 19:05:39 +00:00
mbalmer
b98fada729 No need to set BINDIR here, since ../Makefile.inc has it.
Noticed by hannken@eis.cs.tu-bs.de, thx.
2009-07-06 12:47:38 +00:00
cegger
49fc067aae make functions static 2009-07-04 20:34:23 +00:00
ahoka
39c5e1f59f Get rid of the DOS line endings in the file.
No change of the code intended.
2009-07-04 14:31:38 +00:00
cegger
c9c9fcbb99 remove unused global variable. 2009-07-04 13:54:14 +00:00
cegger
efe8489506 use EXIT_FAILURE in places I missed in previous. 2009-07-04 13:50:08 +00:00
cegger
6face9fc9c - use EXIT_FAILURE, EXIT_SUCCESS
- main() needs no prototype
- ansify usage()
No functional changes.
2009-07-04 09:12:46 +00:00
wiz
674e49816b New sentence, new line. Remove unnecessary Bk/Ek pairs. 2009-07-02 18:32:04 +00:00
dyoung
53e43e1e70 Deprecate wiconfig's -r, -g, -m options. Note that equivalent
options are available in ifconfig(8).
2009-07-02 17:45:25 +00:00
mbalmer
cf8e7832f4 Fix write loop. 2009-07-01 07:49:12 +00:00
mbalmer
649bcbf015 - No need to include paths.h twice (christos, you oversaw that paths.h
was already included)
- use "usage", not "Usage", like other tools
2009-06-26 21:55:28 +00:00
christos
1ede09dfc2 - include <paths.h> for _PATH_BPF explicitly.
- make sure that everything sets errno appropriately so we can use warn/err
- only open and setup bpf once since if this does not work we fail and don't
  do extra work.
- use getprogname
- static local functions and no parameters.

I think this utility should be renamed wakeonlan because wake is too generic.
2009-06-26 17:38:32 +00:00
wiz
8615942dc8 Fix Dd argument, remove superfluous quotes, add author name. 2009-06-26 09:25:39 +00:00
mbalmer
0161c10332 /dev/bpf is cloneable, no need to dance around /dev/bpfN to find an
available device.
2009-06-26 09:00:49 +00:00
agc
664fc89d11 iscsi distribution has moved to src/external/bsd/iscsi 2009-06-25 23:42:21 +00:00
mbalmer
c57bd217eb Switch from bcopy to memcpy. Requested by and ok christos. 2009-06-25 22:26:54 +00:00
mbalmer
bcbaac7ec1 Add a blank line after the cvs marker and add a descriptive one line comment.
requested by matt green.
2009-06-25 18:50:46 +00:00
mbalmer
35f74629dc wake(8) is a command to send Wake-on-LAN packets to machines on the local
ethernet, allowing machines to be powered up without physical access to them.

tonnerre@ and tron@ reviewed it and decided that the bin directories
are not to full for this small and useful command.
2009-06-25 18:41:21 +00:00
agc
474f9d04b2 Switch over to building iscsi library, target and initiator from the
external framework.
2009-06-25 13:58:59 +00:00
tron
7d5e451c60 Switch to building Postfix 2.6.2 via "external/ibm-public/postfix". 2009-06-23 17:58:22 +00:00
agc
b27d6094e3 Fix from Jukka Salmi - get BINDIR from further up the tree 2009-06-20 17:58:21 +00:00
christos
3fe391d776 fix for non NetBSD systems 2009-06-20 17:03:25 +00:00
christos
c08a8944a8 fix typo 2009-06-20 16:19:46 +00:00
christos
adee5457b1 don't complain if file does not exist either. 2009-06-20 14:25:47 +00:00
agc
0e74d43b5e Enable the iSCSI initiator 2009-06-20 04:18:39 +00:00
agc
dc40c47744 Add a library implementation of modload(3) and modstat(3).
Conditionally compiled in when MODULAR_KERNEL is defined in the Makefile
(or during the build process).

Use kmod functions to see if the puffs module is loaded in the kernel,
and to load it if it is not already loaded.
2009-06-20 04:12:55 +00:00
dyoung
4ec9bd2b05 Use the definition in <sys/param.h> instead of redefining MAX().
(Used to work because the redefinition was identical to the original
definition, but no longer.)

While I'm here, define sizeofA() in terms of __arraycount() from
<sys/cdefs.h>.
2009-06-19 23:36:41 +00:00
wiz
2be246d2b7 Add RCS Id.
Sort options.
End sentences with dots.
Use standard section headers.
Fix Xref.
Make HTML-ready.
2009-06-19 19:31:18 +00:00
christos
33681fbe60 Fix for unprivileged build. 2009-06-19 16:46:52 +00:00
agc
8d1ae2fc62 Bump up to WARNS=4 2009-06-19 16:13:49 +00:00
christos
e946d9550c pass lint 2009-06-19 15:23:26 +00:00
agc
1a46bf4662 Move the iSCSI initiator from the examples section under src/share to
usr.sbin. At the same time, rename the utility to iscsi-initiator(8).
2009-06-19 07:17:09 +00:00
wiz
e6a36c516d Sort sections. New sentence, new line. Punctuation fixes. 2009-06-19 05:50:39 +00:00
christos
2739d569fd allow overwriting the version record. 2009-06-18 22:13:56 +00:00
christos
9dbe62df2a remove duplicated code by merging the insecure and secure database handling.
add warning flag.
2009-06-18 21:59:24 +00:00
christos
ed742f5718 support reading and writing both version 0 and version 1 databases using
-V <version>. By default the databases stay in their current version when
rebuilding/updating.
2009-06-18 17:46:24 +00:00
kardel
4a186c8fa5 resolve import ntp-4-2-4p7 2009-06-13 12:02:07 +00:00
pooka
540fcdb7ef +pseudo-device putter 2009-06-09 14:27:17 +00:00
christos
432691963c Avoid -mcmodel=kernel so that we can build in PIC mode. 2009-06-04 12:19:35 +00:00
njoly
4c9ac951c7 Fix a crash while trying to read nodes on amd64, reported in PR/41494,
by not doing any transfert when offset exceed the actual data length.

From and ok by pooka@.
2009-05-28 10:07:06 +00:00
christos
39ac8a1e03 - prevent recursive error calls fatal -> die -> cleanup -> sys_cleanup -> cf* ->
fatal/error etc.
- prefix all the errors with __func__.
This allows me to unplug my 3G modem and have pppd exit correctly.
2009-05-24 20:31:25 +00:00
christos
6a9b5acd29 print the proper client address (ryo shimizu) 2009-05-23 03:24:51 +00:00
pgoyette
8a01920225 Make the makedev step fail if either MAKEDEV or MAKEDEV.local need to
be updated.  Patch from njoly@
2009-05-22 15:23:17 +00:00
pooka
d6c25c2b9b wait() for dead ssh processes (but don't block, so we might have
one teeny zmobie in the system).
2009-05-20 15:04:36 +00:00
pooka
b5cb6a6ca0 Fix SNAFU in previous: connection handshake is already handled by
the connect routine now, so we're not required/allowed to do it twice.
Makes reconnect on dead link work again.
2009-05-20 14:39:42 +00:00
pooka
dac06153a9 Copyright year management. no functional change (unless sarah disagrees) 2009-05-20 14:08:21 +00:00
pooka
8ff915319e Introduce -c [12], which can be used to open 1 or 2 ssh connections
to the server.  If "2" is specified, a separate connection is used
for data and directory operations.  Using two connections can
significantly increase directory operation performance on a saturated
link, at least up to 30x faster.
2009-05-20 13:56:36 +00:00
he
bf6708350b Spread some 'const' to deal without warnings with string constants. 2009-05-20 08:16:52 +00:00
wiz
49d8d543b2 Update references to firmware handling (mostly by removing outdated stuff
and pointing to iwi(4)). Bump date.

Addresses PR 41444 by Taylor R. Campbell.
2009-05-18 12:55:28 +00:00
wiz
afc1ce3f86 Sort SEE ALSO. 2009-05-18 12:03:56 +00:00
wiz
b649b20e90 New sentence, new line.
Adapt wording from FreeBSD to apply to pkgsrc. Bump date.
2009-05-18 11:57:30 +00:00
mrg
b71ffbf87a if there is no "name" properly, don't assert(), pretend it is empty.
now "ofctl" works on the shark.  fixes PR#36733.
2009-05-18 05:51:53 +00:00
rmind
c873419d8f Skip LSIDL and LSZOMB threads when retrieving info. 2009-05-16 23:59:56 +00:00
pgoyette
0bade9429b Add a few more processor extended models for Intel Family 6 2009-05-14 20:16:10 +00:00
jnemeth
2dac444cfe fetch /etc/dhcpcd.conf from the correct place when building the system 2009-05-13 23:44:26 +00:00
wiz
0ef2a88d96 New sentence, new line. 2009-05-13 23:03:54 +00:00
wiz
6937bb0cf0 Sort option descriptions. 2009-05-13 22:36:39 +00:00
pgoyette
1463b8efaf 1. Extend CPU probe of Intel processors to handle extended-models. This
allows us to properly identify new Intel 45nm processors, Core i7,
   Atom, and the 45nm Xeon MP.

2. Properly decode several new Intel cache descriptors, as listed in the
   most recent (March 2009) edition of Intel's Application Note 485.

3. Convert decode of the various features masks to use the newly added
   snprintb_m(3) routine.

Addresses my PR bin/41289
Addresses my PR bin/41290
2009-05-13 22:25:51 +00:00
christos
a1776a6de9 make this compile where size_t is not unsigned int. 2009-05-13 03:21:41 +00:00
plunky
ab1f45acf7 update to use the new Service Discovery API 2009-05-12 21:50:38 +00:00
plunky
309b0691a2 add an exit hook at the tap so that on the way out (for whatever reason),
btpand will mark down the interface.
2009-05-12 21:21:23 +00:00
plunky
493f204d6d rework the channel shutdown code path, each channel now has its own
action to process which separates the server and client code.
2009-05-12 21:08:30 +00:00
plunky
3be8934b8b rather than debug message, exclaim in error for failed set filter 2009-05-12 19:57:59 +00:00
plunky
170631f4a8 update to use new sdp(3) and sdp_data(3) APIs 2009-05-12 18:39:20 +00:00
wiz
2407dcceaa New sentence, new line. 2009-05-12 14:56:22 +00:00
tsutsui
5164332007 Fix for -Wcast-qual.
XXX want wscons...
2009-05-12 14:15:31 +00:00
plunky
cf71b1e8c5 no longer needs libsdp 2009-05-12 13:11:18 +00:00
plunky
c9c58ee818 does not need libsdp any longer 2009-05-12 13:09:43 +00:00
wiz
9793fd6bf2 Sort sections, fix section header. 2009-05-12 10:27:53 +00:00
plunky
dfbf818a22 Add in the new Service Discovery Protocol API as announced previously in
http://mail-index.netbsd.org/tech-userlevel/2009/02/27/msg001764.html

  in lib/libbluetooth, add new SDP functions and bump minor version
  replace usr.sbin/sdpd with new version
  install sdp.h and sdp.3 from lib/libbluetooth

(Don't remove libsdp yet since some programs still refer to it)
2009-05-12 10:05:06 +00:00
jnemeth
8714d998c8 install /etc/rc.d/dhcpcd as well 2009-05-12 02:17:49 +00:00
jnemeth
363f93e8d1 install /etc/dhcpcd.conf 2009-05-12 01:53:07 +00:00
plunky
539b5ab318 Ensure that these programs continue to build while I am in the
process of updating the Service Discovery Protocol API.
2009-05-07 18:08:55 +00:00
spz
fd8187a569 adjust the ADMINPORTDIR to match that of racoon (with which it'll want to talk)
fixes PR 41376
2009-05-07 09:31:40 +00:00
lukem
bb51419c1e Add reminder to confirm the ffs format using dumpfs(8). 2009-05-07 07:09:49 +00:00
lukem
7c56c3165d refer to FFSv1 instead of UFSv1 2009-05-07 07:03:39 +00:00
lukem
18f0896759 Display the superblock format as the second line ("FFSv1" or "FFSv2").
No need to display the magic format further down.
2009-05-07 06:40:38 +00:00
wiz
cc8e7a968a Add missing apostrophe. 2009-05-04 22:31:36 +00:00
wiz
36ad9ca39e Remove superfluous comma. 2009-05-04 20:54:50 +00:00
wiz
d85266f985 Fix formatting. New sentence, new line. 2009-05-04 20:47:48 +00:00
wiz
274aaf51a5 New sentence, new line. 2009-05-04 19:11:49 +00:00
kefren
975948c441 Fix formatting for printing size_t 2009-05-03 07:24:55 +00:00
plunky
e5826973cc add a noisy debug message for overlong packets
(I do get them from my phone)
2009-05-02 20:13:44 +00:00
plunky
02f520acc7 use assert() instead of _DIAGASSERT()
suggested by emax@freebsd
2009-05-02 20:07:51 +00:00
christos
11a630f123 easier done with a goto instead of closing in each error. 2009-05-02 16:19:36 +00:00
elad
0b783346d2 PR/41332: Jason V. Miller: paxctl(8) leaks file descriptors
Always close(fd) before returning.

Thanks for the report!
2009-05-02 06:01:30 +00:00
pooka
45ef580f17 Merge librumpfs_ufs into librumpfs_ffs. This reflects what happened
with the ffs kernel module and follows the trend of retiring ufs.
It also allows to get rid of a special case kludge in runtime module
loading, since ufs was not really a module.  librumpfs_ufs is now
obsoleted and ffs consumers should be linked solely against
librumpfs_ffs.
2009-05-02 01:15:52 +00:00
agc
b79fe05de0 Get rid of files which aren't used 2009-05-01 23:40:32 +00:00
nakayama
c7386761f6 WARNS=4 fixes. 2009-04-30 16:10:10 +00:00
nakayama
4ff5774174 WARNS=4 fixes. 2009-04-30 07:45:28 +00:00
nakayama
1d09b9bbae More WARNS=4 fixes, for sparc and sun3. 2009-04-29 09:13:58 +00:00
joerg
70e3d67b70 Create images with 0666 - umask, not 0777 - umask (e.g. without x bits). 2009-04-28 22:49:26 +00:00
nonaka
50010e742d Fix WARNS=4 issues. 2009-04-28 10:57:24 +00:00
lukem
103ca7bc06 Fix issue I introduced in WARNS=4 -- addition of extra argument to default argv.
Found & fixed by Geoff Wing.
2009-04-28 08:32:56 +00:00
mlelstv
094ee5306f don't discard const qualifiers 2009-04-26 19:56:20 +00:00
mlelstv
4c90ae5cf0 don't discard const qualifiers 2009-04-26 19:24:18 +00:00
lukem
e92226ab69 Fix WARNS=4 issues (-Wcast-qual -Wsign-compare)
Fixes PR bin/41283
2009-04-26 04:54:27 +00:00
lukem
7a4c7e7ffc Fix WARNS=4 issues (-Wextra -Wcast-qual).
Resolves PR bin/41282
2009-04-26 01:51:07 +00:00
lukem
a3417b09b0 WARNS=1 for pf 2009-04-23 05:25:06 +00:00
lukem
74f7394a13 Allow WARNS=4 after Christos' fix sys/cdefs.h 2009-04-23 01:37:55 +00:00
lukem
6c17577005 Fix -Wsign-compare issue 2009-04-23 01:36:56 +00:00
christos
33c521093c WARNS=4 2009-04-22 18:10:38 +00:00
lukem
d877c4c3c0 Enable WARNS=4 by default, except for:
cpuctl  dumplfs  hprop  ipf  iprop-log  kadmin  kcm  kdc  kdigest
	kimpersonate  kstash  ktutil  makefs  ndbootd  ntp  pppd  quot
	racoon  racoonctl  rtadvd  sntp  sup  tcpdchk  tcpdmatch  tcpdump
	traceroute  traceroute6  user  veriexecgen  wsmoused  zic
(Mostly third-party applications)
2009-04-22 15:23:01 +00:00
joerg
e7f29a3386 Split fsck during boot into two phases. Check the root file system
first, mount root and run the various disk providers. Add swap and
check the remaining file systems after that.
This breaks the dependency cycle for lvm, which needs writeable /dev.
Depend on rndctl in cgd.
2009-04-21 16:08:57 +00:00
drochner
0fa7059102 define YY_NO_INPUT where appropriate, from Kurt J. Lidl per PR misc/41160 2009-04-20 16:05:29 +00:00
mschuett
0d53a16d76 Add queue macros SLIST_FOREACH_SAFE, STAILQ_FOREACH_SAFE, STAILQ_LAST,
SIMPLEQ_CONCAT, and SIMPLEQ_LAST.

Remove seperate definitions outside of queue.h.
2009-04-20 09:56:07 +00:00
ad
4d8f47ae2f cpuctl:
- Add interrupt shielding (direct hardware interrupts away from the
  specified CPUs). Not documented just yet but will be soon.

- Redo /dev/cpu time_t compat so no kernel changes are needed.

x86:

- Make intr_establish, intr_disestablish safe to use when !cold.

- Distribute hardware interrupts among the CPUs, instead of directing
  everything to the boot CPU.

- Add MD code for interrupt sheilding. This works in most cases but there is
  a bug where delivery is not accepted by an LAPIC after redistribution. It
  also needs re-balancing to make things fair after interrupts are turned
  back on for a CPU.
2009-04-19 14:11:36 +00:00
lukem
193dbe5711 fix -Wshadow 2009-04-19 08:53:37 +00:00
lukem
9a5b6d41c6 fix -Wshadow 2009-04-19 08:40:48 +00:00
lukem
0350114585 Fix WARNS=4 issues (-Wshadow -Wsign-compare) 2009-04-19 07:54:08 +00:00
lukem
96bb91fe3c Fix WARNS=4 issues (-Wextra -Wshadow) 2009-04-19 07:49:07 +00:00
lukem
6bc6e73b91 Fix -Wsign-compare issues 2009-04-19 06:09:42 +00:00
lukem
d3d3aa621a Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare) 2009-04-19 06:06:39 +00:00
lukem
9797780352 Fix -Wsign-compare issue 2009-04-19 04:01:06 +00:00
lukem
c7dd380491 Fix -Wsign-compare issues 2009-04-19 02:25:48 +00:00
lukem
228475234f Fix WARNS=4 issues (-Wextra -Wsign-compare) 2009-04-19 01:53:17 +00:00
lukem
6363aba79d Fix WARNS=4 (-Wcast-qual -Wextra) 2009-04-19 01:52:09 +00:00
lukem
975b87b4f5 Fix -Wcast-qual and -Wshadow issues 2009-04-19 00:56:32 +00:00
lukem
802fa86c68 Fix -Wcast-qual issue 2009-04-19 00:44:49 +00:00
lukem
dfb301f79f Fix WARNS=4 issues (-Wshadow -Wcast-qual) 2009-04-19 00:26:18 +00:00
lukem
1638ad2757 Fix WARNS=4 issues (-Wextra -Wsign-compare) 2009-04-18 14:06:58 +00:00
lukem
e4e2f3f32e Fix -Wextra issue 2009-04-18 14:02:42 +00:00
lukem
899b971d2c Fix -Wsign-compare issue 2009-04-18 14:01:37 +00:00
lukem
6c07b7244e Fix -Wshadow 2009-04-18 13:57:44 +00:00
lukem
ca5cba9384 remove unnecessary comments 2009-04-18 13:55:11 +00:00
lukem
c2fdfea89a Fix -Wcast-qual and -Wsign-compare issues 2009-04-18 13:53:59 +00:00
lukem
46a41907e1 Fix WARNS=4 issues (-Wcast-qual -Wsign-compare).
XXX: could improve parsing of -v option and store "cutoff" as a uint64_t.
2009-04-18 13:37:04 +00:00
lukem
e3823f584e Fix -Wsign-compare issue 2009-04-18 13:05:54 +00:00
lukem
0466bbb6dd Fix -Wshadow and -Wcast-qual issues 2009-04-18 13:02:36 +00:00
christos
2eded15942 delete old bind 2009-04-18 13:01:19 +00:00
lukem
46c55ef395 Fix -Wshadow and -Wcast-qual issues 2009-04-18 12:57:10 +00:00
lukem
54f1cbbf7a Fix -Wshadow issue 2009-04-18 09:25:50 +00:00
lukem
aad74fbea3 Fix -Wcast-qual issues 2009-04-18 09:20:40 +00:00
lukem
178a598d18 Fix WARNS=4 issues (-Wsign-compare -Wcast-qual) 2009-04-18 09:18:17 +00:00
lukem
09ae632551 Fix WARNS=4 issues (-Wshadow -Wsign-compare -Wextra) 2009-04-18 08:50:23 +00:00
lukem
88c712c252 Fix -Wcast-qual issues 2009-04-18 08:20:41 +00:00
lukem
4d2da769ca Fix -Wcast-qual issue 2009-04-18 08:17:23 +00:00
lukem
4780f87772 Fix WARNS=4 issues (-Wsign-compare -Wcast-qual) 2009-04-18 08:08:36 +00:00
lukem
aecc7237da Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare) 2009-04-18 08:05:18 +00:00
lukem
9559646817 Fix WARNS=4 issues (-Wsign-compare -Wextra) 2009-04-18 07:17:16 +00:00
lukem
35a4cbea60 Compare size_t vs off_t by casting both to uintmax_t 2009-04-18 06:28:19 +00:00
lukem
d5d23344d7 Fix -Wcast-qual issues 2009-04-18 05:09:15 +00:00
lukem
c83cfc0c59 Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare) 2009-04-17 16:12:46 +00:00
lukem
58cb611abb Fix WARNS=4 (-Wshadow -Wsign-compare -Wcast-qual) 2009-04-17 16:05:43 +00:00
lukem
a23ae1c696 Fix WARNS=4 issues (-Wsign-compare -Wcast-qual) 2009-04-17 14:07:45 +00:00
lukem
95087e98e0 Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wextra -Wsign-compare) 2009-04-17 14:02:21 +00:00
lukem
0076abc054 Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare) 2009-04-17 13:56:33 +00:00
lukem
f7271183be Fix WARNS=4 issues (many -Wshadow, -Wcast-qual) 2009-04-17 04:16:57 +00:00
lukem
b1b382ae67 Fix WARNS=4 issues (-Wshadow -Wextra -Wcast-qual -Wsign-compare) 2009-04-17 04:03:39 +00:00
dyoung
7af558eba1 Distinguish read(2) failure due to a short read from other causes, and
suggest in the error message a possible cause: the size= attribute in
the metalog (if one is given) may be different from the source file's
actual size.
2009-04-16 18:54:16 +00:00
lukem
43e54b3a2f Fix -Wcast-qual issues 2009-04-16 07:13:16 +00:00
lukem
2269fc7ff3 Fix -Wsign-compare issues 2009-04-16 06:52:08 +00:00
lukem
24d76f1bcc Fix -Wsign-compare issues 2009-04-16 06:27:43 +00:00
lukem
3365bf7170 Fix -Wsign-compare issues 2009-04-16 06:14:13 +00:00
lukem
5b43984129 Fix WARNS=4 issues (-Wcast-qual -Wshadow) 2009-04-16 06:07:53 +00:00
lukem
ed9b940f4a Fix WARNS=4 (-Wshadow -Wcast-qual) 2009-04-16 05:59:56 +00:00
lukem
18f69179c9 Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare) 2009-04-16 05:56:32 +00:00
lukem
6651d58dfb Fix -Wcast-qual issue 2009-04-16 02:11:44 +00:00
lukem
107925002e Fix -Wsign-compare issues 2009-04-15 10:05:41 +00:00
lukem
778b72dfdb Fix -Wsign-compare issues 2009-04-15 08:40:59 +00:00
lukem
8d37bc2951 Fix -Wsign-compare issue 2009-04-15 08:38:37 +00:00
pooka
73871be1ed fix WARNS=4, recipe from lukem 2009-04-15 08:36:21 +00:00
lukem
a35a433358 Fix -Wshadow and 'setjmp clobber' warnings. 2009-04-15 08:33:04 +00:00
lukem
f6c4f0aee4 Fix WARNS=4 (-Wshadow -Wcast-qual -Wsign-compare) 2009-04-15 08:26:34 +00:00
lukem
98e270d73f Fix -Wsign-compare issue 2009-04-15 06:01:01 +00:00
lukem
04532254ee Fix -Wsign-compare issue 2009-04-15 05:50:20 +00:00
lukem
984afef138 Fix WARNS=4 issues (-Wsign-compare -Wextra) 2009-04-15 05:43:22 +00:00
lukem
3d305af9f2 Fix -Wsign-compare issue 2009-04-15 05:41:09 +00:00
lukem
19a92f1b8c Fix -Wsign-compare issue 2009-04-15 01:01:06 +00:00
lukem
d8a2ebd20f Fix -Wsign-compare issues 2009-04-15 00:40:01 +00:00
lukem
2132a832ac Fix -Wsign-compare issue 2009-04-15 00:37:05 +00:00
lukem
020f7791cb Fix -Wsign-compare issues 2009-04-15 00:35:04 +00:00
lukem
4d8dfd66df Fix -Wsign-compare issues.
(Use %u not %d for unsigned ints.)
2009-04-15 00:32:23 +00:00
lukem
7affd6558f Fix -Wsign-compare issues 2009-04-15 00:13:50 +00:00
wiz
fe9ffd31fe New sentence, new line. Use .An. 2009-04-12 19:39:52 +00:00
joerg
bd9cbe41e8 Remove conditional, groff now knows how to deal with ASCII output. 2009-04-12 18:51:33 +00:00
christos
b9beabb76c unhook bind 2009-04-12 17:13:06 +00:00
apb
6e9108295a When an mtree spec file omits a parent directory, "missing directory in
specification", instead of "no such file or directory".
2009-04-11 14:32:51 +00:00
wiz
5f950b1010 New sentence, new line. 2009-04-11 13:24:37 +00:00
wiz
159965be32 Sort option descriptions. 2009-04-11 13:24:17 +00:00
wiz
3bafbbb30d New sentence, new line. Remove empty section. Add comma in enumeration. 2009-04-11 13:24:00 +00:00
lukem
f93f13ab6f fix -Wsign-compare issue on amd64 2009-04-11 12:55:29 +00:00
lukem
7f26f737dc fix -Wcast-qual issues 2009-04-11 12:44:29 +00:00
lukem
ad5ee40a86 fix WARNS=4 issues 2009-04-11 07:51:59 +00:00
reed
85ecea6539 Make sure named-compilezone manual page is available too.
(Upstream provides as a symlink to named-checkzone, but using MLINKS
here.)
2009-04-10 03:50:38 +00:00
apb
02a79f3336 * Rewrite intro to mention all three things mtree can do (check directory
tree against spec; create spec; modify spec).
* Consistently use "options" to refer to command line options.  "flags"
  is used to refer to file flags.
* Some other clarifications and changes for consistency.
2009-04-09 09:53:37 +00:00
joerg
a5e9c389e6 Quote potential macro used as literal. Don't use .Xo/.Xc to work around
ancient groff macro argument limit.
2009-04-09 04:10:40 +00:00
joerg
d87cddc68e .br -> .Pp, capitalize subsection titles 2009-04-09 02:41:44 +00:00
joerg
d942d2f2cd Don't depend on magic default value for -offset. Don't use .br, use a
paragraph. Use more sane indentation and avoid compact style for huge
list to make it more readable.
2009-04-09 02:30:51 +00:00
wiz
d1b96e557a Sync usage with man page. 2009-04-08 19:43:05 +00:00
wiz
7b2130ba39 Sort options and option descriptions.
Remove an incomplete sentence ("It will") -- probably pasto.
Give the tagged lists more space for the first column.
Remove unnecessary Bk/Ek pairs.
2009-04-08 19:39:23 +00:00
apb
ef658dd50e The recent addition of sorting to "mtree -C" broke some third party
scripts.  Now make sorting optional, controled by the "-S" flag.
2009-04-08 19:03:13 +00:00
joerg
bd027b10ec Fix markup. 2009-04-08 14:36:41 +00:00
joerg
b20b8e52a6 Add missing quotes. 2009-04-08 14:33:12 +00:00
joerg
cdea36b6f8 Fix markup. 2009-04-08 14:20:38 +00:00
joerg
2cfdc9a96c Convert to more semantic markup. 2009-04-08 13:47:07 +00:00
joerg
d2c5af5c91 Use semantic markup. 2009-04-08 13:41:54 +00:00
joerg
f4bfcdb4ae Improve markup. 2009-04-08 13:36:32 +00:00
joerg
663328acb0 Remove non-sensical .ad macro. Don't use .Xo/.Xc. 2009-04-08 13:31:38 +00:00
joerg
32a51b5de6 Fix markup. 2009-04-08 13:13:42 +00:00
apb
62b6b42c6f fix another missing "prev" link 2009-04-07 18:06:41 +00:00
martin
ecad31aebd Now that we use ?= to optionally assing to ddb.onpanic, match that when
testint existing configurations too.
2009-04-06 00:30:33 +00:00
apb
dc1b0e5339 Fix broken "prev" pointer in one case. 2009-04-05 15:47:03 +00:00
dogcow
f0f15c8b0d Watch one's "p"s and "q"s and fix cast aspersions on alpha ("warning: field
precision should have type 'int', but argument 2 has type 'long int'")
2009-04-05 12:15:07 +00:00
lukem
aa4393e8f7 WARNS=4 2009-04-05 12:04:04 +00:00
lukem
cf65938aa6 fix sign-compare issues 2009-04-05 12:03:48 +00:00
lukem
2b2f4703f2 fix sign-compare issues 2009-04-05 11:48:02 +00:00
apb
c5c8c1dcb2 Tags are internally stored with leading and trailing commas, for ease
of using strstr(3) to check them against inclusion or exclusion lists.
Don't output the leading or trailing commas.
2009-04-04 21:49:49 +00:00
christos
9587268219 fix pasto: don't print the critcap when the warncap was asked. Also off by
one in length. From Anon-Ymous.
XXX: Should pull up to 5.0
2009-04-04 18:43:01 +00:00
wiz
88ada6d2b7 Convert to mdoc. Bump date for previous. 2009-04-04 17:29:59 +00:00
perry
4cfab35c9c New feature: "?" for time specifications, means a single time selected at
random from within the range at file read time. Very useful if you
want to avoid having a fleet of machines melt a server by all trying to
contact it at a precise time every morning. See docs for details.

Reviewed by: christos, apb, vixie, others.

XXX apb suggests, quite reasonably, that ?10-16/2 should mean
something like 10,12,14,16 or 11,13,15. I'm too lazy to do it right
now, but it should be done.

XXX vixie suggests, quite reasonably, that if you're using "?" one
should delay randomly by 0-59 seconds. In the modern NTP world, you
could imagine that with a million well synchronized machines the
second just at the minute would be hit quite hard. I'm too lazy to do
it right now, but it should be done.

XXX cron needs to be updated to Vixie's cron 4.1 code.
2009-04-04 16:05:10 +00:00
apb
5e464841ab Make "mtree -C" sort its output.
As the input is read from a specfile into a tree of linked lists,
keep each linked list sorted.  The sort order is the same as that
already used by "mtree -c": directories sort after non-directories, but
otherwise names are sorted in the order used by strcmp().
2009-04-03 21:18:59 +00:00
christos
af069eb3c7 Centralize the ROUNDUP and ADVANCE macro in a header file, give them an
RT_ prefix and use them appropriately, instead of making copies. Make
pppd use the RT_ROUNDUP macro; fixes proxyarp setting on 64 bit hosts.

XXX: All this should be pulled up to 5.0
2009-04-02 21:02:06 +00:00
martin
4e59766728 Make the ddb.onpanic line acceptable even if commented out 2009-04-01 16:38:46 +00:00
pooka
d3739e6172 Save errno before descending to cleanup gehennom. 2009-03-29 16:06:53 +00:00
dholland
a1d97be176 Minor fix, from Alan R. S. Bueno in PR 41046, adjusted by me to not use
the default operand of .Ar on grounds of source clarity.
2009-03-29 06:04:50 +00:00
ad
5d2a6ba964 Add -x: summarize events, and do not report on lock types. 2009-03-21 13:02:19 +00:00
mike
c7f073e0ff Fix check for duplicate gid when '-g =uid' is specified to usermod.
Closes PR bin/40391
2009-03-20 02:53:47 +00:00
pooka
61260da885 In case the portal provider fails, do not try to pass an
uninitialized fd value.  Also, propagate errno to the caller.
2009-03-18 09:10:16 +00:00
mike
0779b10efc Do not allow duplicate group id in groupmod unless -o is specified.
Closes PR bin/40393
2009-03-18 04:59:45 +00:00