Andrey A. Chernov
0b836dfaf1
Back out recent changes
2002-01-19 18:03:11 +00:00
Andrey A. Chernov
6874115893
If user not exist in OPIE system, return failure immediately instead
...
of producing fake prompts with random numbers which can be detected by
potential intruder in two tries and totally confuse non-OPIE users.
2002-01-19 10:09:05 +00:00
Andrey A. Chernov
3195cd6712
Back out second right-now-expired password check in pam_sm_chauthtok,
...
old expired password assumed there
2002-01-19 09:23:36 +00:00
Andrey A. Chernov
012400dfcd
Previous commit was incomplete, use new error code PAM_CRED_ERR to
...
indicate die case, different from PAM_SUCCESS and PAM_AUTH_ERR
2002-01-19 08:36:47 +00:00
Andrey A. Chernov
d97cc81fa4
Rewrite 'pwok' fallback in the way it can be properly chained with pam_unix
...
Replace snprintf %s with strlcpy
Check for NULL returned from getpwnam()
2002-01-19 07:23:48 +00:00
Andrey A. Chernov
c8e3fac7a1
Add yet one expired-right-now password check, in pam_sm_chauthtok
...
srandomdev() can't be used in libraries, replace srandomdev()+random()
by arc4random()
2002-01-19 04:58:51 +00:00
Andrey A. Chernov
8c70adab72
Set pwok to 1 for non-OPIE users
2002-01-19 03:31:39 +00:00
Andrey A. Chernov
d54c36388e
Add missing check for right-now-expired password
2002-01-19 02:45:24 +00:00
Andrey A. Chernov
3f9a326a7a
Implement 'pwok', i.e. conditional fallback to unix password
...
as supposed by opieaccessfile() and opiealways()
2002-01-19 02:38:43 +00:00
Ruslan Ermilov
89ac4ecce1
mdoc(7) police: tidy up OpenBSD fixes.
2002-01-16 15:21:39 +00:00
Mike Barcroft
4681597d9a
Add a few cleanups from rev 1.1:
...
o Restore vendor ID.
o Order variable types by size.
o Remove a gratuitous temporary variable.
Submitted by: bde
2002-01-15 17:52:21 +00:00
Mike Barcroft
1936b2c83b
o Add prototype for printf(3).
...
style(9):
o Order variables in declarations.
o Move initialization out of declaration.
o Fix over-indents in previous delta.
2002-01-15 08:50:28 +00:00
Mike Barcroft
f601b5ba4b
style(9)
...
Submitted by: Joseph Mallett <jmallett@xmach.org>
Reviewed by: md5(1)
2002-01-15 08:26:58 +00:00
Ruslan Ermilov
491a842962
yp(4) -> yp(8).
...
PR: docs/30797
2002-01-14 16:59:03 +00:00
Crist J. Clark
971730fc67
Merge some updates and markup fixes from OpenBSD. This is mainly
...
motivated by the new "CAVEATS" section.
Inspired by: alfred noting NetBSD's merging OpenBSD's changes
Obtained from: OpenBSD
2002-01-14 02:08:02 +00:00
Doug White
2b8877f486
Add xref for timeradd(3).
...
PR: 13079
2002-01-14 00:38:41 +00:00
Jake Burkholder
f2602cd538
Comment out the retrieval of a termination function from %g1. It is
...
doubtful this will ever be used by anything and rtld uses %g1.
Comment out references to _init and _fini for now too.
2002-01-13 06:17:19 +00:00
Daniel Eischen
aee4cebfe7
Include <stddef.h> to fix build problem when namespace pollution
...
by <signal.h> (including <time.h> so that NULL is accidentally defined)
is removed.
Style nits.
Submitted by: bde
2002-01-11 19:46:08 +00:00
Bruce Evans
b9c35b6942
Fixed unsorting and splitting of SRCS in previous commit.
2002-01-11 17:10:35 +00:00
Bruce Evans
614acf2fad
Fixed missing backslash in previous commit.
2002-01-11 16:08:49 +00:00
Bruce Evans
b944866c25
Fixed accumulated unsorting and some other style bugs (long lines).
2002-01-11 15:59:30 +00:00
Bruce Evans
afac94af5c
Replaced bogus cross references by the usual one for the ctype family
...
(ctype(3)).
2002-01-11 15:39:50 +00:00
Bruce Evans
87e0032026
Removed assertion that isblank() conforms to C90 too. This assertion
...
is correct but less than useful. There is some uncertainty about whether
isblank() is in C99, but it is certainly not in C90. It just conforms
to C89 because it is a conforming extension.
2002-01-11 15:21:03 +00:00
Bruce Evans
5fb3acfaaf
Fixed unsorting of almost all lists in previous commit.
...
Removed assertion that isblank() is in C99 here too.
2002-01-11 15:15:17 +00:00
Bruce Evans
758671eb0d
Fixed unsorting of MLINKS in previous commit.
...
Fixed unsorting of SRCS in rev.1.18.
2002-01-11 14:57:11 +00:00
Nik Clayton
6a3003ce51
Remove assertion that isblank() is in C99, pointed out by ache.
2002-01-10 12:22:00 +00:00
Daniel Eischen
b66b8326e5
Add getcontext, setcontext, makecontext, and swapcontext. These
...
functions are defined in SUSv2 and the latest POSIX spec.
Thanks to Bernd Walter <ticso@cicely8.cicely.de> for helping debug my
alpha assembly.
Approved by: -arch
2002-01-10 02:40:59 +00:00
Sheldon Hearn
7f6a22a549
Document behaviour with respect to interval timers.
...
PR: 33156
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
2002-01-09 14:44:06 +00:00
Ruslan Ermilov
58c0fdd850
mdoc(7) police: add missing markup bits for ``errno''.
2002-01-09 14:03:54 +00:00
Ruslan Ermilov
ce9df6eefc
mdoc(7) police:
...
Stop abusing the .%J macro for where the .Pa macro should have been used.
2002-01-09 14:01:22 +00:00
Nik Clayton
26dabb6003
From the PR:
...
1. ctype.h defines digittoint(), isnumber() and ishexnmber(), yet
they are not documented in any of the manpages.
2. The ctype manpage references a non-existent manpage for
digittoint().
3. The isascii() manpage claims it is standards compliant, when
it isn't.
4. isblank() claims it is _not_ standards compliant, when it
is.
Fix by including the appropriate .Nm entries, and with a new digittoint.3
page.
PR: docs/26451
Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
2002-01-09 13:43:31 +00:00
John Baldwin
7b5f59222e
Fix some 32/64-bit bugs. IPv4 addresses are 32-bits, not longs. On the
...
alpha these bugs didn't cause any problems because it was little endian,
but on sparc64, we ended up with garbage for the IP address when we tried
to contact the server. (Usually 3.253.0.0)
Not objected to by: wpaul
2002-01-08 18:05:03 +00:00
Chris D. Faulhaber
98a32f6de6
Correct phrase 'get an ACL' to 'set an ACL'.
...
PR: 33660
Submitted by: Rich Morin <rdm@cfcl.com>, Tom Rhodes <darklogik@pittgoth.com>
2002-01-07 22:46:14 +00:00
Matthew Dillon
d010343b82
Modify Delete_Chunk() into Delete_Chunk2() which can take a flags
...
argument. Leave a compatibility shim for Delete_Chunk().
Implement DELCHUNK_RECOVER flag so sysinstall can ask libdisk
to recover space when deleting a chunk.
2002-01-07 07:47:25 +00:00
Dima Dorfman
bfe4f323ec
We are munmap(2), so there's no need to list ourselves in the SEE ALSO
...
section; instead, list our partner in crime, mmap(2).
PR: 33153
Submitted by: Faried Nawaz <fn@hungry.org>
2002-01-07 06:12:25 +00:00
Dima Dorfman
cf1b88ff74
Nuke the paragraph that says "One can obtain user connection request
...
data without confirming the connection by issuing a recvmsg(2) [...]".
There's no such code in the kernel.
PR: 26861
Submitted by: Richard A Steenbergen <ras@e-gerbil.net>,
Tom Rhodes <darklogik@pittgoth.com>
2002-01-07 06:10:37 +00:00
Dima Dorfman
b06e8b97a9
Suggest using memmove(3) if src and dst may overlap.
...
PR: 33298
Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au>
2002-01-07 06:03:37 +00:00
Chris Costello
6ba681a185
All information from the "BUGS" section not belonging in "SECURITY
...
CONSIDERATIONS" moved to "COMPATIBILITY".
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-01-06 21:48:37 +00:00
Chris Costello
e125c135a8
Add new "SECURITY CONSIDERATIONS" sections.
...
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-01-06 21:16:41 +00:00
Kelly Yancey
2adfea6f6c
Enable WARNS?=2.
2002-01-06 08:47:19 +00:00
Chris Costello
41f91cb492
Add a new `SECURITY CONSIDERATIONS' section. Sample code similar to
...
the first revision of strcpy(3)'s section is included, but should be
removed as the Security Architecture document is committed and
completed.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-01-05 20:44:34 +00:00
Chris Costello
80080d642e
Include a section cross-reference to EXAMPLES' in
SECURITY
...
CONSIDERATIONS' as a source for relevant sample code.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-01-05 20:36:47 +00:00
Chris Costello
8680aaea87
Remove the example from SECURITY CONSIDERATIONS. This is mostly
...
duplicated code from EXAMPLES.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-01-05 20:24:38 +00:00
Yaroslav Tykhiy
f381837242
Minor grammar and punctuation fixes
...
in the SO_ACCEPTFILTER description.
2002-01-04 18:17:07 +00:00
Yaroslav Tykhiy
996d4dc275
State clearly that one should call listen(2) on a socket
...
at first and try to set an accept_filter(9) on it only after that.
Also document errno value that will be set if installing the
filter on a non-listening socket.
2002-01-04 18:12:38 +00:00
Andrey A. Chernov
50a5189f9e
Turn off USER_LOCKING which allows intruder to completely disable OPIE
...
for some user just by entering user name and doing nothing on password prompt
2002-01-03 16:04:57 +00:00
Chris Costello
17dc85f4d0
Copy the sample `SECURITY CONSIDERATIONS' section from sec-doc.7.
...
This will be trimmed as the FreeBSD Security Architecture document
is fleshed out and committed.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-01-02 19:56:57 +00:00
Jake Burkholder
fbeabbfad6
Add ifdef sparc64.
2002-01-02 06:54:18 +00:00
Jake Burkholder
29c3ea8424
Connect user trap code to the build.
2002-01-01 21:59:53 +00:00
Jake Burkholder
6ce4e876a7
Add libc side of user trap handling.
...
Add support for handling floating point disabled traps mostly in userland
for the simple single threaded case. Not yet enabled by default.
Implement __sparc_utrap_install as specified by the sparc abi.
2002-01-01 21:58:32 +00:00
Dag-Erling Smørgrav
d6811c6851
Remove long-obsolete README.
2002-01-01 16:27:26 +00:00
Dag-Erling Smørgrav
a8e9bd8750
In verbose mode, display the full error message from the server, stripping
...
it of HTML tags and comments.
PR: bin/32989
MFC after: 1 week
2002-01-01 16:25:29 +00:00
Dag-Erling Smørgrav
f67efa37d6
Remove VT100 escapes from debugging messages now that they're enabled by
...
default.
PR: 32988
MFC after: 3 days
2002-01-01 14:48:09 +00:00
Andrey A. Chernov
f7388e0d38
Back out errno preserving
2001-12-30 03:34:46 +00:00
Jake Burkholder
e5a86020b0
Adapt to new kernel tsb structure.
2001-12-29 06:43:36 +00:00
Jake Burkholder
1b46a084f3
Make sure curbrk is well aligned.
2001-12-29 06:40:58 +00:00
Jake Burkholder
c0c4d2cf25
Use jmpbuf offsets, not ucontext_t.
2001-12-29 06:40:35 +00:00
Jake Burkholder
cd4f8a8c2c
Add .register directives for gcc3.
...
Adapt to jmpbuf no longer being a ucontext_t.
Restore the context "by hand" in longjmp and call sigprocmask, instead
of just using sigreturn.
2001-12-29 06:39:53 +00:00
Jake Burkholder
c5a29982d3
__infinity is not const.
2001-12-29 06:38:31 +00:00
Jake Burkholder
c1682cb423
Add jmpbuf offsets. Remove ucontext offsets.
2001-12-29 06:38:06 +00:00
Jake Burkholder
5b3fb165d9
Add .register directives for gcc3.
...
Adapt to jmpbuf no longer being a ucontext_t.
Call abort if longjmperror returns.
2001-12-29 06:37:33 +00:00
Jake Burkholder
cafb96f2df
Include utrap.h for soft trap types.
2001-12-29 06:36:07 +00:00
Jake Burkholder
024675337e
We use HIDENAME(minbrk) on sparc64 too.
2001-12-29 06:35:19 +00:00
Bruce Evans
b2035c2b74
Fixed a missing "const".
2001-12-28 20:59:44 +00:00
Jake Burkholder
be5fa99a1e
Fix typo (unclosed comment).
2001-12-28 17:55:15 +00:00
Mike Pritchard
432fda11a4
Add xref to jail(2).
...
PR: docs/33177
Submitted by: Tom Rhodes <darklogik@pittgoth.com>
2001-12-28 09:26:45 +00:00
Hajimu UMEMOTO
676e98714d
- Make it possible to turn on RES_INSECURE[12] with /etc/resolv.conf.
...
- Don't connect datagram socket if RES_INSECURE1.
- Needed to implement IPv6 anycast UDP DNS queries as documented in
<draft-ietf-ipngwg-dns-discovery-03.txt>.
Obtained from: KAME
2001-12-26 21:21:10 +00:00
Andrey A. Chernov
98b870fa7b
Add "except the handling of errors" into "equivalent to" paragraph.
...
Pointed by: bde
Inspired by: POSIX
2001-12-25 08:43:35 +00:00
Andrey A. Chernov
b12990ca58
Preserve errno.
...
According to C99:
"The functions atof, atoi, atol, and atoll need not
affect the value of the integer expression errno on an
error. If the value of the result cannot be represented,
the behavior is undefined."
2001-12-25 04:10:50 +00:00
Alexey Zelkin
0388ec7cac
Back out recent replacement of LC_MESSAGES file with directory.
...
Requested by: ache
2001-12-24 11:49:49 +00:00
Poul-Henning Kamp
257bc17600
Sort the disknames when we get them from the kernel.
...
Submitted by: <anarcat@anarcat.dyndns.org>
2001-12-23 21:43:48 +00:00
Chris Costello
d06a764812
o Change the layout of the tagged lists to be like those in acl(3).
...
o Document the following capabilities: CAP_NET_ADMIN, CAP_SYS_RAWIO,
CAP_SYS_ADMIN, and CAP_SYS_TTY_CONFIG.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2001-12-23 00:19:48 +00:00
Daniel Eischen
2d170746c7
Use the real function address (instead of function address + 8) for the
...
return address when modifying a jmp_buf to create a new thread context.
Also set t12 with the return address.
This should fix libc_r on alpha.
With much detective work by: Bernd Walter <ticso@cicely.de>
2001-12-22 06:11:06 +00:00
Daniel Eischen
8572518672
Save and restore t12 in the jmp_buf. t12 is used during function
...
calls.
This change allows libc_r to create thread contexts with a different
stack and return address.
With much detective work by: Bernd Walter <ticso@cicely.de>
2001-12-22 06:06:17 +00:00
Alexey Zelkin
aca736a60e
add missing MLINKS
2001-12-21 18:26:01 +00:00
Peter Wemm
57c3d698c2
The VM_STACK option is long dead. MAP_STACK is available everywhere.
2001-12-21 17:24:10 +00:00
Alexey Zelkin
709eed76bd
Slightly re-work locale messages storage scheme. Before this commit
...
LC_MESSAGES related data was installed to <locale>/LC_MESSAGES file.
Now it go to <locale>/LC_MESSAGES/SYS_LC_MESSAGES file. LC_MESSAGES
directory is supposed to be storage of message catalogs of userland tools.
This should allow us to avoid many potential problems with future
libintl related functionality introduction.
Thanks for useful suggestions about correct way how to replace plain
files with directories at installworld stage to: Ruslan Ermilov <ru>
2001-12-21 13:14:02 +00:00
Alexey Zelkin
f43a321bf0
style(9)'ify
2001-12-20 18:28:52 +00:00
Sheldon Hearn
d7e394992c
Supply SMB_CFG_FILE in CFLAGS. The newly imported smbfs-1.4.2
...
allows us to supply our own value for this, overriding the
default /usr/local/etc/nsmb.conf, which is not appropriate for
base system configuration files.
2001-12-20 16:21:47 +00:00
Alexey Zelkin
f2d0f4274b
Add my e-mail to copyrights
2001-12-20 15:30:02 +00:00
John Baldwin
6507c9a129
Document that rfork() will return EINVAL if flags not listed in the
...
manpage are passed in.
2001-12-19 00:59:54 +00:00
Ruslan Ermilov
4aa5d00e3d
Fixed the bug in transparent TCP proxying with the "encode_ip_hdr"
...
option -- TcpAliasOut() did not catch the IP header length change.
Submitted by: Stepachev Andrey <aka50@mail.ru>
2001-12-18 16:13:45 +00:00
Daniel Eischen
7512c816c0
Fix the retrieval of USRSTACK via sysctl so that it works for 64-bit
...
archs. This should fix libc_r on alpha.
Submitted by: Bernd Walter <ticso@cicely9.cicely.de>
2001-12-18 02:02:59 +00:00
Kelly Yancey
cb28eb78cb
Const'ify the CDB format string passed to the CDB parsing routines
...
(csio_decode_visit() and family).
Reviewed by: ken
2001-12-18 00:48:44 +00:00
Alexey Zelkin
2e394b2fc1
Fix some style bugs
...
Prompted by: mike
2001-12-17 15:11:29 +00:00
Daniel Eischen
320bfcf3f1
When cancelling a thread while in a join operation, do not detach
...
the target thread of the join operation. This allows the cancelled
thread to detach the target thread in its cancellation handler.
This bug was found by Butenhof's cancel_subcontract test.
Reviewed by: jasone
2001-12-16 13:26:44 +00:00
David E. O'Brien
2f67a9b3cd
Embelish CFLAGS.
2001-12-15 21:41:11 +00:00
David E. O'Brien
07e70b12fc
The instructions on doing something with src/lib/csu/sparc64.
2001-12-15 21:36:30 +00:00
David E. O'Brien
ee425bffeb
Sparc64 ELF version of the C runtime support.
...
It tries to comply with the SCD 2.4.1 (and thus Sparc 64-bit psABI).
This is an amalgamation of the FreeBSD Alpha crt1.c and the BSD/OS Sparc
crt0.c (which the copyright reflects).
2001-12-15 18:54:06 +00:00
Daniel Eischen
35686a943a
Pull the target thread of a join operation from the correct place
...
when cancelling a thread.
2001-12-15 15:52:24 +00:00
Peter Wemm
8754b1ac25
clnt_bcast.c:420:33: warning: extra tokens at end of #endif directive
2001-12-15 00:07:37 +00:00
Sheldon Hearn
23eb26fa51
Kernel support for smbfs is only built on the i386 at the moment, so
...
limit the building and installation of the userland utilities to that
architecture for now.
Reported by: bmah
2001-12-14 23:11:45 +00:00
Ruslan Ermilov
7f432ff831
mdoc(7) police: bump document date.
2001-12-14 13:49:28 +00:00
Sheldon Hearn
85519b003a
Add bmake glue for src/contrib/smbfs and connect userland smbfs
...
support to the build.
The MFC reminder below is subject to <re@FreeBSD.org> approval
prior to 4.5-RELEASE.
Reviewed by: bp, fjoe
MFC: 1 week
2001-12-14 11:41:22 +00:00
Alexey Zelkin
e578c6f17c
* cleanup comments and defines
...
Reviewed by: bde
2001-12-14 11:36:37 +00:00
Alexey Zelkin
243e90d646
Also fix cases when thousands separator should be put before number. For
...
example before for grouping sequence "\003\003" number 123456 was formated
as ",123,456", now "123,456".
2001-12-13 21:05:27 +00:00
Alexey Zelkin
98ee763522
Respect locale while handling of \' flag.
...
In original version grouping was hardcoded. It assumed that thousands
separator should be inserted to separate each 3 numbers. I.e. grouping
string "\003" was assumed for all cases. In correct case (per POSIX)
vfprintf should respect locale defined non-monetary (LC_NUMERIC
category) grouping sequence.
Also simplify thousands_sep handling.
2001-12-13 19:45:41 +00:00
Alexey Zelkin
ef1ee63e3c
Fix style bugs (mostly remove 'extern' from function prototypes)
...
Inspired by: conversation with bde
2001-12-13 17:22:17 +00:00
Alexey Zelkin
4b667ee0db
* remove reference to m68k-dependent sources
...
* fix comment
2001-12-13 17:18:26 +00:00
Ruslan Ermilov
358034bcfe
If the OID is missing, sysctl(3) returns ENOENT, not EOPNOTSUPP.
...
PR: docs/32793
Submitted by: Hartmut Brandt <brandt@fokus.gmd.de>
2001-12-13 10:59:00 +00:00
Ruslan Ermilov
3ea75eb1a1
s/crypt_format/crypt_default/ to match reality.
...
PR: docs/32787
Spotted by: Pete Carah <pete@altadena.net>
2001-12-13 08:05:32 +00:00
Ruslan Ermilov
6184d98a2a
mdoc(7) police: minor markup nits.
2001-12-12 15:02:32 +00:00
Ruslan Ermilov
f7475de715
mdoc(7) police: fix markup, bump document date.
2001-12-12 14:53:51 +00:00
Ruslan Ermilov
f0cc88ffed
mdoc(7) police: kill HSBs, add missing comma.
2001-12-12 14:41:53 +00:00
Ruslan Ermilov
9a05e59078
mdoc(7) police: fix markup.
2001-12-12 14:40:09 +00:00
Ruslan Ermilov
2554caf28c
mdoc(7) police: Minor formatting nits and optimizations to rev. 1.34.
2001-12-12 14:36:28 +00:00
Ruslan Ermilov
de400a7b97
mdoc(7) police: use no-break space.
2001-12-12 13:46:15 +00:00
Ruslan Ermilov
f079ab33c6
mdoc(7) police: use no-break space, fix markup.
2001-12-12 13:45:35 +00:00
Ruslan Ermilov
5411c22ae5
mdoc(7) police: use non-break space, remove whitespace at EOL, fix markup.
2001-12-12 13:42:25 +00:00
Alfred Perlstein
a9ee9c593d
Fix a number of subtle and evil bugs in the libc_r wrapping of sendfile(2).
...
o) Since we unwrap the sendfile syscall, check the return value of
writev(2) to see if it didn't complete all the data.
Previously if only a partial writev() succeeded, it would proceed
to sendfile(2) even though the headers weren't completely sent.
o) Properly adjust the "bytes to send" to take into account sendfile(2)'s
behaviour of counting the headers against the bytes to be transfered
from the file.
o) Correct the problem where EAGAIN was being returned from _sys_sendfile(2)
however the wrapper didn't update the 'sent bytes' parameter to take into
account for it. This is because sendfile can return EAGAIN even though
it has actually transfered data.
Special thanks to Justin Erenkrantz <jerenkrantz@apache.org> for bringing
this to my attention and giving an excellent way to reproduce the problem.
PR: kern/32684
MFC After: 1 week
2001-12-12 08:02:24 +00:00
Alexey Zelkin
52d6b43026
Add my e-mail to copyrights
2001-12-11 16:00:47 +00:00
Alexey Zelkin
74f2b97544
* Add my e-mail to copyrights
...
* style(9)'ify
2001-12-11 15:55:42 +00:00
Alexey Zelkin
b21656a8f4
Fix grouping string handling
2001-12-11 15:26:36 +00:00
John Baldwin
7244e93850
We support writing to at least one filesystem now.
...
PR: kern/32389
Submitted by: Jonathan Mini <mini@haikugeek.com>
Sponsored by: ClickArray, Inc.
2001-12-11 00:04:28 +00:00
John Baldwin
126a0854a7
Add support for overwriting the existing contents of a file to the UFS
...
driver in libstand. This specifically does not expand or truncate files
since the filesystem may be dirty or inconsistent.
PR: kern/32389
Submitted by: Jonathan Mini <mini@haikugeek.com>
Sponsored by: ClickArray, Inc.
2001-12-11 00:03:10 +00:00
David Malone
9f5b04e925
Style improvements recommended by Bruce as a follow up to some
...
of the recent WARNS commits. The idea is:
1) FreeBSD id tags should follow vendor tags.
2) Vendor tags should not be compiled (though copyrights probably should).
3) There should be no blank line between including cdefs and __FBSDIF.
2001-12-10 21:13:08 +00:00
Matthew Dillon
173592263d
Add auto-fill-on-delete. When deleting an 'A'uto created partition
...
sysinstall will automatically expand the previous partition to take up
the freed up space. So you can 'D'elete /home and /usr will get the
combined space, or you can 'D'elete /tmp and /var will get the combined space.
This gives the user, developer, or lay person a huge amount of flexibility
in constructing partitions from an 'A'uto base. It takes only 3 or 4
keystrokes to achieve virtually any combination of having or not having
a /tmp and/or /home after doing an 'A'uto create.
Change 'A'uto creation of /var/tmp to 'A'uto creation /tmp, which should
be less controversial.
MFC after: 6 days
2001-12-09 23:40:02 +00:00
Dag-Erling Smørgrav
18a85de04b
Back out previous commit.
...
Requested by: ru
2001-12-09 15:11:55 +00:00
Dag-Erling Smørgrav
3c4b4d83f7
Don't build with NDEBUG.
...
PR: bin/32615
MFC after: 1 week
2001-12-09 15:06:38 +00:00
Dag-Erling Smørgrav
7f807cb867
Conditionalize some debugging code that didn't use the DEBUG macro.
...
MFC after: 1 week
2001-12-09 15:05:58 +00:00
Dag-Erling Smørgrav
7eb2f34d73
Introduce a fetchDebug global. Change the DEBUG macro so it only runs the
...
debugging code if fetchDebug is set.
PR: bin/32615
MFC after: 1 week
2001-12-09 15:05:19 +00:00
Ruslan Ermilov
edd2da71b2
Start using .St macro for POSIX.1-2001.
2001-12-08 19:06:23 +00:00
Ruslan Ermilov
945b9f4de9
mdoc(7) police: sort xrefs.
2001-12-08 16:28:20 +00:00
Maxim Sobolev
e10f1484e4
Prevent infinite loop, when kevent(2) is called wihout eventlist (i.e.
...
eventlist == NULL or nevents == 0).
2001-12-08 00:53:37 +00:00
Alexey Zelkin
a94da0a9f3
Get rid of unused anymore file! Alpha works fine with our strtod() now.
2001-12-07 17:19:09 +00:00
Andrey A. Chernov
f34b139cda
Return 'c' back to signed due to potential comparison problems
...
Use simpler test for valid ranges
Submitted by: bde
2001-12-07 16:33:47 +00:00
Ruslan Ermilov
6cbb6156c3
Fix a typo.
...
Submitted by: "Alexey V. Neyman" <alex.neyman@auriga.ru>
2001-12-07 14:58:41 +00:00
Alexey Zelkin
7ae5c6791e
* localeconv() usage is not FLOATING_POINT specific anymore (due to "'" flag
...
addition) so move locale.h inclusion out of FLOATING_POINT ifdef's.
* add more comments
2001-12-07 12:38:47 +00:00
Dag-Erling Smørgrav
bdd601a1e3
Get pam_mod_misc.h from .CURDIR rather than .OBJDIR or /usr/include.
...
Sponsored by: DARPA, NAI Labs
2001-12-07 11:51:47 +00:00
Wes Peters
556f162ac0
Make strerror and strerror_r use sys_errlist[0] for errnum = 0. Be
...
more careful about reporting truncation with ERANGE in strerror_r.
Set errno to EINVAL for "unknown" errnum in strerror as required
by P1003.1-200x Draft June 14, 2001.
More carefully document the handling of strerrbuf when errors
(ERANGE, EINVAL) are encountered in strerror_r.
Reviewed by: bde (ongoing discussion)
2001-12-07 06:28:58 +00:00
Bill Fenner
828829cda5
Remove blank line.
2001-12-07 03:25:26 +00:00
Dag-Erling Smørgrav
47c8f6faec
Now that _pam_init_handlers() works as intended, it seems clear that we
...
do not actually want to define PAM_READ_BOTH_CONFS, so back out previous
commit.
Sponsored by: DARPA, NAI Labs
2001-12-07 00:38:37 +00:00
Dag-Erling Smørgrav
a45af0e2b0
We need pam_client.h from libpamc. This unbreaks world
...
Pointed out by: jhay
Pointy hat to: des
2001-12-06 12:35:18 +00:00
Wes Peters
f61a2ede84
New, improved, more Posix-compliant strerror_r implementation,
...
complete with documentation.
Reviewed by: mike@ gad@
MFC after: 1 week
2001-12-06 04:53:31 +00:00
Dag-Erling Smørgrav
87316434d1
Define PAM_READ_BOTH_CONFS. We can now have both /etc/pam.d and
...
/etc/pam.conf.
Sponsored by: DARPA, NAI Labs
2001-12-05 17:06:16 +00:00
Andrey A. Chernov
8ede26d773
Clarify ' ' space issue
2001-12-05 16:33:11 +00:00
Dag-Erling Smørgrav
bda74fe925
Install the correct version of pam_misc.h.
...
Sponsored by: DARPA, NAI Labs
2001-12-05 16:27:41 +00:00
Dag-Erling Smørgrav
8d3978c115
Add dummy functions for all module types. These dummies return PAM_IGNORE
...
rather than PAM_SUCCESS, so you'll get a failure if you list dummies but
no real modules for a particular module chain.
Sponsored by: DARPA, NAI Labs
2001-12-05 16:06:35 +00:00
Dag-Erling Smørgrav
d5a8dd3fb5
Connect the man page to the build.
...
Sponsored by: DARPA, NAI Labs
2001-12-05 16:02:50 +00:00
Dag-Erling Smørgrav
e2c8459e85
Add a pam_self authentication module that succeeds if and only if the local
...
and remote user names are the same.
Sponsored by: DARPA, NAI Labs
2001-12-05 15:55:14 +00:00
Ruslan Ermilov
dd98d57b45
mdoc(7) police: markup the previous delta.
2001-12-04 16:09:27 +00:00
Dag-Erling Smørgrav
6478822fba
Correct some egregious style bugs.
2001-12-04 12:32:35 +00:00
Dag-Erling Smørgrav
a8adfe18ce
Add a missing error check. This fixes a bug that would cause pwd_mkdb to
...
dump core if invoked with an input file that looks like a password file
but isn't (e.g. /etc/group).
PR: 32378
Submitted by: Maxim Konovalov <maxim@macomnet.ru>
MFC after: 1 week
2001-12-04 12:31:02 +00:00
Dag-Erling Smørgrav
6598654546
Properly handle being redirected to an FTP URL.
...
Also fix a couple of not-so-minor bugs:
- missing case for HTTP_SEE_OTHER
- incorrect definition of HTTP_NEED_PROXY_AUTH
PR: 20259
MFC after: 2 weeks
2001-12-04 01:12:51 +00:00
Dag-Erling Smørgrav
89db7b8c6d
Add prototype for _ftp_request().
2001-12-04 01:10:34 +00:00
Dag-Erling Smørgrav
102a87c1e1
Reorganize to reduce code duplication.
2001-12-04 01:09:19 +00:00
Anton Berezin
b9449db117
Fix typos getpeerid -> getpeereid.
...
PR: docs/32442
Reviewed by: dd
2001-12-02 23:50:40 +00:00
Mark Murray
1a8b24c257
Use __FBSDID(). Also do a bit of cosmetic #if and header-order
...
cleaning-up.
2001-12-02 20:54:57 +00:00
Peter Wemm
6464bbfa03
Use the merged strtod.c everywhere. This has been tested on alpha and
...
ia64.
2001-12-02 18:27:40 +00:00
Andrey A. Chernov
e3a3c468a5
Remove specific reference to ASCII space (' '), it is true for localized
...
spaces too
2001-12-02 12:31:44 +00:00