Commit Graph

7362 Commits

Author SHA1 Message Date
agc 9823410edb Use a CPP definition for "/sbin/nologin" - it's at the top of the
file.

Modify the logic in the previous but one commit - /sbin/nologin should
be considered a valid user shell, since otherwise, with the addition
of the checks for a valid user shell, useradd with a shell of
/sbin/nologin will fail.

Modify some of the code here to conform to the standards in the rest
of this file.
2006-01-14 22:00:52 +00:00
christos f4a430efd2 Use the ppp zlib from net. In preparation for importing zlib-1.2.3.
Unfortunately due to the changes in 1.2.3 that have more fine-grain
states between calls to inflate, we cannot easily adapt it to
packetized mode.
2006-01-14 19:55:11 +00:00
wiz 1a0cee1a1d Replace NetBSD with Nx. 2006-01-13 17:45:36 +00:00
elad 87a445663d Add forgotten ')'. 2006-01-13 16:36:33 +00:00
tsutsui 4930ad54bc Note about ews4800mips. 2006-01-13 15:37:26 +00:00
christos efe8347be7 treat /sbin/nologin specially. 2006-01-13 13:43:23 +00:00
elad 226d27021a add mode 0600 for open call with O_CREAT. 2006-01-13 10:06:10 +00:00
wiz dd0ea511f5 New sentence, new line. 2006-01-12 21:15:59 +00:00
garbled 606b04818e sizeof(char) is unneccesary. 2006-01-12 18:06:25 +00:00
garbled 53df3fea02 Add libedit command line history capability to lpc(8). 2006-01-12 17:53:03 +00:00
jmmv 43e6e3abd2 Capitalize a letter to match other sentences in the list. 2006-01-12 16:45:25 +00:00
christos b018a2c29a revert previous. persist does not need to reset the line discipline. (verified
by perry)
2006-01-11 21:16:51 +00:00
christos c68bc6a017 reset the tty in the normal tty discipline if we persist so that we can
dial again.
2006-01-10 22:57:35 +00:00
reed de56c0d123 Fix mispelling in a comment. 2006-01-10 20:53:24 +00:00
wiz d0fb2fc679 Use MaxPathSize instead of PATH_MAX (like everywhere else here). 2006-01-08 12:20:54 +00:00
yamt 895fec49e1 reset hdrcnt whenever printing a header. 2006-01-08 08:47:16 +00:00
christos ca0029edd3 Add checks for valid shell. From Liam Foy. 2006-01-06 18:11:00 +00:00
yamt db8ef563ea mention /var/db/mountdtab. 2006-01-05 10:41:03 +00:00
yamt 5997340664 do_nfssvc: remove code to go up the path, as it's nonsense and
sometimes even harmful.
2006-01-05 10:38:29 +00:00
christos 5d62e1710e sync with pkgsrc version. 2006-01-04 23:36:14 +00:00
garbled 97f8851cc8 Address PR bin/12112
Lpd has the ability to start on a port other than "printer" but has no
way to connect to a remote lpd on that port.  This change adds the
ability to specify port@host in the rm element of printcap(5).  Tested to
work with both a standard lpd setup and one running on special ports.
2006-01-04 15:32:50 +00:00
yamt f79b461ad5 update MAXNFSDCNT and bump date. 2006-01-01 17:03:54 +00:00
christos 36134a63ad - don't leak the ipv6 file descriptor when we close
- fix packet statistics
- don't check errno if n != -1
- check more error conditions
- relinguish the ppp tty when we are on demand mode, fixes demand mode
- ansi prototypes
2005-12-31 08:36:01 +00:00
tsutsui 3b1ef5e593 Add ews4800mips support. 2005-12-29 15:32:20 +00:00
martti ecde67984b Define INET6 only if ${USE_INET6} != "no" 2005-12-28 11:58:23 +00:00
martti e2030cd2f7 Define INET and INET6 or things break when linking in fil.o (hi christos!) 2005-12-28 11:54:45 +00:00
elad 0ba17c4726 /dev/i4b -> /dev/isdn. From ulfdoz. 2005-12-26 19:11:17 +00:00
jmmv e7ab8d7413 Installing the primary bootstrap requires two arguments, so ensure they are
present.  Otherwise, an assertion is triggered (and core is dumped) in the
MD setboot code (just try 'installboot /dev/fd0a' on, e.g., i386).
2005-12-26 13:30:25 +00:00
perry d030f331fb __inline__ -> inline
__const__ -> const
2005-12-24 21:35:57 +00:00
perry ae6ae2c362 Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:56:41 +00:00
christos ed53f670c4 remove programs that have been deprecated. 2005-12-22 00:27:23 +00:00
christos bd58506612 Resolve conflicts 2005-12-22 00:19:00 +00:00
wiz 086e1cafc6 Comment out paragraphs/half sentences referring to wlan(4)
and devd(8), which we do not have.
2005-12-12 22:23:22 +00:00
wiz fe8b349524 Add xref to chflags(1). From Andre Luiz de Oliveira in PR 32265. 2005-12-09 20:27:02 +00:00
dillo 4793781929 (pkg_do) When marking already installed package as manually installed,
only print message if we succeeded.

Noted by wiz.
2005-12-08 19:26:28 +00:00
christos d945bb2f77 missed one unsigned long long cast. 2005-12-07 13:59:12 +00:00
skrll 7044aacdd9 Don't reference stuff we don't have. 2005-12-07 12:20:49 +00:00
christos c4e3ba2371 fix the LP64 issue for real. 2005-12-06 22:48:05 +00:00
abs 7b32e40a09 fgetc() should use an int not a char. The code style here is... unusual. 2005-12-06 21:05:36 +00:00
christos 616516830f Fix __LP64__ issues and time_t abuse. 2005-12-06 16:32:49 +00:00
skrll a0ab422547 Descend into lmcconfig. 2005-12-06 11:55:19 +00:00
christos db4546dd95 New lmcconfig program from David Boggs. This program probably has the most
options than any other in the tree.
2005-12-06 03:12:35 +00:00
ben d221099506 Specify the full path to tar when unpacking a package.
Modify pfcexec so the new process file name can be different from argv[0].
This fix is from Peter Postma, and it addresses PR#32228
2005-12-06 01:07:30 +00:00
christos 11f5327084 Don't log an error if a delete exports request is not supported. Also fix
the error message to print the reason delete exports failed.
2005-12-04 18:01:53 +00:00
wiz 84b1788811 Improve diagnostics section. Inspired by PR 32217 from Jeff Ito. 2005-12-03 11:24:02 +00:00
hubertf e968750664 Only warn about running as non-root when -v is given
(or when running in non-unprivilegedmode, but how to detect?)
2005-12-03 01:08:38 +00:00
yamt ebd9a381a8 constify. 2005-12-02 11:33:39 +00:00
wiz 3d67954e00 Fix typo reported by adam@. 2005-11-30 18:31:45 +00:00
dyoung 5138e74947 Fix a bug in cd9660_sort_nodes, which tried to insert `next' before
`node' on a tail-queue, when `node' wasn't on the tail-queue.
Sometimes this led to a segfault.  Insert before `cn', since that
is the intention.  Closes PR 32194. Thanks, Jeff Rizzo, for reporting
this bug.
2005-11-30 00:26:11 +00:00
christos 04723c3ffc - WARNS = 4
- factor out commonly used code.
- constify
- use warn/warnx instead of printf
2005-11-28 03:26:06 +00:00