ken
ef96d4b7a9
Implement compute_stats() in terms of devstat_compute_statistics(). This
...
gets rid of the duplicated code in compute_stats().
Add a new DSM_SKIP statistic type for devstat_compute_statistics() that
causes the subsequent variable argument to be skipped.
Thanks to Sergey Osokin for coding up my idea/code fragment.
Submitted by: "Sergey A. Osokin" <osa@freebsd.org.ru>
2001-08-18 05:46:59 +00:00
dd
0585574d9b
Implement getpeereid(3), a front-end to the LOCAL_PEERCRED
...
socket option for the Unix domain. It's weaker than the
socket option (this only returns the uid and gid, while the
socket opt. can return the entire group list), and is
implemented mostly for compatibility with OpenBSD.
2001-08-17 22:09:15 +00:00
dd
489477439a
Xref raise(3).
2001-08-17 21:04:42 +00:00
ru
c82403ffa0
mdoc(7) police: collapse multiple spaces.
2001-08-17 15:25:55 +00:00
ru
ea8c823418
mdoc(7) police: fixed the fatal.
2001-08-17 15:18:49 +00:00
ache
b2c8d2cea9
Simplify overflow calculations a bit
2001-08-17 11:08:56 +00:00
ache
a95746d6e3
Remove extra check, already done in upper level caller, i.e. in
...
_fseeko()
2001-08-17 10:43:03 +00:00
ache
4107e6045e
Mention ftell & ftello in EOVERFLOW section too.
2001-08-17 10:29:09 +00:00
ache
28f5a91209
Add more overflow checks in case of fseek()
2001-08-17 10:22:03 +00:00
ache
555ada99b6
Don't clear "we have offset" flag even if long is overflow for fseek(),
...
there is no harm to have it, it will reduce next call efforts.
2001-08-17 10:06:46 +00:00
ache
ca91420dc8
fseek.c:
...
Resulting fseek() offset must fit in long, required by POSIX (pointed by bde),
so add LONG_MAX and final tests for it.
rewind.c:
1) add missing __sinit() as in fseek() it pretends to be.
2) use clearerr_unlocked() since we already lock stream before _fseeko()
3) don't zero errno at the end, it explicitely required by POSIX as the
only one method to test rewind() error condition.
4) don't clearerr() if error happens in _fseeko()
2001-08-17 09:57:11 +00:00
ru
ed60690b9e
mdoc(7) police: replace \*(Ba' with a simple
|', it's handled specially.
2001-08-16 11:09:00 +00:00
jasone
6e7ccfd093
Fix a bug in canceling joining threads.
...
Do not detach canceled threads.
Reported by: Arno Klaassen <arno@heho.snv.jussieu.fr>
Collaboration with: deischen
2001-08-16 06:31:32 +00:00
jkoshy
033062de28
If the string specifying the allowed options starts with a leading `:',
...
`getopt(3)' should not print a warning for missing argument values.
PR: bin/29625
Reviewed by: mikeh
MFC after: 1 week
2001-08-16 03:27:03 +00:00
dd
cfe0163bbc
Explain the relation of getchar() to getc() in less words.
...
Submitted by: ru
2001-08-16 03:09:33 +00:00
markm
fa04b8c3cb
Remove out-of-date "cannot be exported from USA" notice.
2001-08-15 20:25:16 +00:00
ache
9c95fc6cbe
Use smarter overflow tests
...
Suggested by: bde
2001-08-15 20:10:38 +00:00
markm
78c5ea3c24
Document the no_warn option.
2001-08-15 20:05:33 +00:00
markm
0261d9dad2
Fix a couple of cross-references to reflect the reality of the module.
2001-08-15 20:03:26 +00:00
ache
9d7273169f
1) Disallow negative seek as POSIX require for fseek{o} (but not for lseek):
...
"[EINVAL] ... The resulting file-position indicator would be set to a
negative value."
Moreover, in real life negative seek in stdio cause EOF indicator cleared
and not set again forever even if EOF returned.
2) Catch few possible off_t overflows.
Reviewed by: arch discussion
2001-08-15 02:07:47 +00:00
yar
deeb90994a
Use the ".Rv" mdoc(7) macro where appropriate.
...
Reviewed by: ru
2001-08-14 14:20:35 +00:00
yar
337d5700b4
Isolate the ERRORS section from the RETURN VALUES one.
...
Reviewed by: ru
2001-08-14 14:10:01 +00:00
ru
24c7b0a61d
mdoc(7) police: s/BSD/.Bx/ where appropriate.
2001-08-14 10:01:54 +00:00
peter
3e5894fd23
Rip out the old __stdin/out/err stuff. It was completely 100% useless. :-(
...
It was foiled because of dynamic copy relocations that caused compile-time
space to be reserved in .bss and at run time a blob of data was copied to
that space and everything used the .bss version.. The problem is that
the space is reserved at compile time, not runtime... So we *still* could
not change the size of FILE. Sigh. :-(
Replace it with something that does actually work and really does let us
make 'FILE' extendable. It also happens to be the same as Linux does in
glibc, but has the slight cost of a pointer. Note that this is the
same cost that 'fp = fopen(), fprintf(fp, ...); fclose(fp);' has.
Fortunately, actual references to stdin/out/err are not all that common
since we have implicit stdin/out/err-using versions of functions
(printf() vs. fprintf()).
2001-08-13 21:48:44 +00:00
ru
c6c3284428
mdoc(7) police: s;BSD/OS;.Bsx; where appropriate.
2001-08-13 17:07:40 +00:00
ru
d896280a89
mdoc(7) police: s/NetBSD/.Nx/ where appropriate.
2001-08-13 17:00:36 +00:00
ru
4e5771e1b8
mdoc(7) police: s/OpenBSD/.Ox/ where appropriate.
2001-08-13 16:43:02 +00:00
ru
e8e5635e4a
Spell "FreeBSD" with "F" and "BSD" in uppercase.
2001-08-13 16:33:00 +00:00
ru
95ce4d2cdc
Removed duplicate VCS ID tags, as per style(9).
2001-08-13 14:06:34 +00:00
iedowse
9b5fad0513
Cross-reference io(4).
2001-08-12 21:16:41 +00:00
markm
8d004b8b0d
Remove the WANT_INSECURE_OPIE option - it is now a default. This is not
...
nearly as ominous as it sounds, and it allows OPIE to be used over SSH
and on xterms.
Requested by: ache
Discussed on: -security
2001-08-12 18:47:56 +00:00
ume
2004f62eea
Fill _res.sort_list with harmless entry. sortlist for IPv6/IPv4
...
is stored in _res_ext.sort_list, and sortlist for IPv4 is stored in
_res.sort_list for backward compatibility. However, both sort_list's
are maintaind by just one index _res.nsort. So, when IPv6 address is
specified to sortlist, empty entry was created in _res.sort_list. It
broke sortlist facility of gethostbyname().
Discussed on users@jp.ipv6.org .
2001-08-11 15:01:12 +00:00
markm
384d536a12
Fix:
...
/usr/src/lib/libpam/modules/pam_ssh/pam_ssh.c has couple of bugs which cause:
1) xdm dumps core
2) ssh1 private key is not passed to ssh-agent
3) ssh2 RSA key seems not handled properly (just a guess from source)
4) ssh_get_authentication_connectionen() fails to get connection because of
SSH_AUTH_SOCK not defined.
PR: 29609
Submitted by: Takanori Saneto <sanewo@ba2.so-net.ne.jp>
2001-08-11 12:37:55 +00:00
imp
3e581274aa
Make the name parameter const char *.
2001-08-11 05:16:00 +00:00
dd
cbf63217c2
Use .Fn, .Fa, and .Dv where appropriate.
2001-08-10 20:49:38 +00:00
markm
0935831088
Clean up this module very extensively. Fix the logging, the coding
...
standards and the option handling. This module is now much more easy
to maintain as a part of the FreeBSD tree.
2001-08-10 19:24:34 +00:00
markm
d4dc7767d7
Code clean up; make logging same as other modules and fix warnings.
2001-08-10 19:21:45 +00:00
markm
74d9830e38
General code clean-up. Sort out warnings, and make the warning and
...
logging work the same as other modules.
2001-08-10 19:18:52 +00:00
markm
746b322ce6
Simplify code. Also verbose logging, verbose overridable error reporting.
2001-08-10 19:15:48 +00:00
markm
30eda03ef6
Verbose logging, overridable verbose error reporting.
2001-08-10 19:12:59 +00:00
markm
846c7876be
Module clean-up. Verbose logging, Overridable verbose error reporting,
...
FreeBSD pam_prompt() usage to simplify conversation function usage.
2001-08-10 19:10:43 +00:00
markm
6d1911d4af
Verbosely (overridable) report failure to the user.
2001-08-10 19:07:45 +00:00
markm
d6d9a9d422
Use the FreeBSD pam_prompt() interface to the conversation function
...
instead of home-rolling it. Clean up debugging code and tidy the
module.
2001-08-10 19:05:57 +00:00
markm
cda9e6f687
Verbosely report errors to the user (overridable), and make sure
...
that the correct failure mode is reported.
2001-08-10 19:02:21 +00:00
ru
f858dca3dc
mdoc(7) police: join split punctuation to macro calls.
2001-08-10 17:35:21 +00:00
jhb
e294674e6c
Include string.h for the strlen() prototype to quiet a warning.
2001-08-10 16:55:09 +00:00
ru
7221cd94bd
mdoc(7) police: fixed the "new sentence" bogons.
2001-08-10 15:03:10 +00:00
markm
fef690379a
Fix broken logic so that this actually works for the superuser.
...
Verbosely log (properly).
Verbosely report errors to the user.
2001-08-10 14:21:58 +00:00
markm
12c08f0451
Rework this to prevent a nasty problem involving different modules'
...
option interacting with each other.
2001-08-10 14:16:47 +00:00
markm
9768c83960
Declare the new user-error reporting macro.
...
This is a macro to allow use of the __FILE__ and __FUNCTION__
macros.
2001-08-10 14:15:00 +00:00
markm
7b1059217e
Add a routine for providing feedback via the conversation mechanism
...
(usually to stderr) for user-reportable errors.
2001-08-10 14:13:16 +00:00
ru
80f060f0cf
mdoc(7) police: protect trailing full stops of abbreviations
...
with a trailing zero-width space: `e.g.\&'.
2001-08-10 13:45:36 +00:00
ru
14c81f3796
Fixed style bugs (dot `.' at the end of error and warning messages).
...
Noticed by: bde
2001-08-10 11:46:37 +00:00
ru
c41292f634
Markup nits: use diagnostic type lists for error and warning messages.
...
Backout previous revision. We should not expand plain text xrefs if
they appear in the literal text, e.g. in the error or warning message
of the library function. (Submitted by: bde)
Moved "out of memory" from warning to errors section.
2001-08-10 11:41:55 +00:00
ru
904defb32d
mdoc(7) police: add xref to intro(2).
2001-08-10 10:11:55 +00:00
mike
b57ab26cc8
o Remove some misleading and incomplete information about search
...
permissions.
o Add a reference to intro(2) where it is properly documented.
Reviewed by: bde
MFC after: 3 days
2001-08-09 17:29:46 +00:00
mike
40b3f0a01b
o Various mdoc fixes.
...
o Replace strncpy examples with less confusing ones from
OpenBSD. These examples give more detail and also suggest
using strlcpy(3).
Reviewed by: des, ru, sheldonh
Obtained from: OpenBSD
MFC after: 3 days
2001-08-09 17:10:48 +00:00
sobomax
5af575a982
Fix xrefs.
...
times.3: gettimeofday(3) --> gettimeofday(2)
rc.conf.5: isndn(8) --> isdnd(8)
idsnd(8) --> isdnd(8)
MFC after: 2 weeks
2001-08-09 15:46:53 +00:00
yar
27b7f2d4e7
Use the ``.Rv -std'' mdoc(7) macro in appropriate cases.
...
Reviewed by: ru
2001-08-09 13:32:13 +00:00
yar
4b2c641db1
Tiny markup fix: `to' isn't a variable
2001-08-09 11:16:12 +00:00
yar
0fe88827f1
A minor markup fix:
...
- `to' isn't a variable
- don't omit the first `E' in `ERANGE', even though .Er
is able to take care of it
2001-08-09 11:03:52 +00:00
dd
8f17f2c988
Fix markup and a couple of thinkos.
...
Submitted by: ru
2001-08-09 06:10:46 +00:00
mikeh
c9f4f4bb72
typo: patched->matched
2001-08-09 00:34:57 +00:00
ru
6787c701a8
mdoc(7) police: expand plain text xrefs.
2001-08-08 11:48:28 +00:00
ru
cac152301a
Urge the reader to start using getaddrinfo(3) and getnameinfo(3)
...
protocol-independant functions that don't use static memory area.
Suggested by: nik
Liked by: ume, brian
2001-08-08 11:05:47 +00:00
ru
2143008ac0
mdoc(7) police: remove whitespace at EOL.
2001-08-08 10:28:18 +00:00
ru
e3bc6bb329
mdoc(7) police: markup nits.
2001-08-08 08:51:03 +00:00
peter
9db8c8274c
Update ptrace(2) re: PT_READ_U and PT_WRITE_U
2001-08-08 05:28:09 +00:00
ru
4345758876
mdoc(7) police:
...
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.
2001-08-07 15:48:51 +00:00
ru
4aa9864c7b
More spelling fixes.
2001-08-07 12:47:57 +00:00
ru
a7d0535bbf
mdoc(7) police: sort xrefs.
2001-08-07 12:33:11 +00:00
ru
90c608c3d9
mdoc(7) police: markup nits.
2001-08-07 12:17:32 +00:00
ume
840f9b9d5f
printed current sequence number of the SA. accordingly, changed
...
into sadb_x_sa2_sequence from sadb_x_sa2_reserved3 in the sadb_x_sa2
structure. Also the output of setkey is changed. sequence number
of the sadb is replaced to the end of the output.
Obtained from: KAME
2001-08-06 19:40:01 +00:00
dd
2e70e83c85
varargs -> stdarg
2001-08-05 05:39:16 +00:00
markm
3b25221320
Fix style/consistency in Makefile and repair static module building.
...
Submitted by: bde(partially)
2001-08-04 21:51:14 +00:00
markm
1f44b5f4e9
Don't clobber CFLAGS
...
Submitted by: bde
2001-08-04 21:49:30 +00:00
tmm
37ac1a7962
Add some features to libdevstat, and overhaul the interface a bit:
...
1.) prefix all functions in the library with devstat_ (compatability
functions are available for all functions that were chaned in an
incompatible way, but are deprecated).
2.) Add a pointer to a kvm_t as the first argument to functions that
used to get their information via sysctl; they behave the same
as before when NULL is passed as this argument, otherwise, the
information is obtained via libkvm using the supplied handle.
3.) Add a new function, devstat_compute_statistics(), that is intended
to replace the old compute_stats() function. It offers more
statistics data, and has a more flexible interface.
libdevstat does now require libkvm; a library depedency is added, so
that libkvm only needs to be explicitely specified for statically linked
programs.
The library major version number is bumped.
Submitted by: Sergey A. Osokin <osa@freebsd.org.ru>, ken (3)
Reviewed by: ken
2001-08-04 18:25:48 +00:00
markm
edba6eee5e
Fix the bug where this modulke was not checking the priamry GID, only
...
the GIDS in /etc/group or NIS's group map.
Tested by: sheldonh
PR: 29349
2001-08-04 09:19:31 +00:00
bde
5acdee8a8e
Don't clobber the default for CFLAGS.
2001-08-03 21:45:54 +00:00
iedowse
064d84b252
In getclnthandle(), if the address is found in the cache we need
...
to strdup() the address string before returning it via *targaddr
because the caller will free the string.
Change the comment at the top of getclnthandle() to clarify that
the caller is responsible for freeing *targaddr.
Noticed by: sobomax
2001-08-02 21:31:21 +00:00
markm
79a9463a45
With the S/KEY removal, this is no longer buildable or necessary.
2001-08-02 19:04:20 +00:00
markm
9bd038a011
Don't try to make pam_ssh module if NO_OPENSSH is set.
2001-08-02 19:01:02 +00:00
markm
7a60bf6a20
Add opieaccess(5) functionality under the INSECURE_OPIE .ifdef.
...
Asked for by: ache
2001-08-02 18:58:52 +00:00
sobomax
b4222d1bf2
Fix a cryptoless world by disconnecting libmp from the build when there is no
...
crypto bits installed and/or NOCRYPTO/NO_OPENSSL is defined. This unfortunately
meants that usr.bin/chkey, usr.bin/newkey and usr.sbin/keyserv have also to
be disconnected.
IMO it is merely a workaround, the proper solution is to move libmp to
src/crypto where it belongs and use libgmp for the cryptoless builds instead.
Missed by: dd
2001-08-02 15:47:03 +00:00
markm
78112d8985
Repair the get/set UID() stuff so this works in both su(1) and login(1)
...
modes.
2001-08-02 10:35:41 +00:00
dd
649f740e57
mdoc(7) police: remove hard sentence breaks.
2001-08-01 16:07:50 +00:00
sheldonh
80fcc4abbc
MFS: in HISTORY section, fix release number of first appearance
2001-08-01 12:15:21 +00:00
sheldonh
f153c10891
Fix broken Fn calls; Fn doesn't take a manual page section as an
...
argument.
Terminate the last sentence with a period.
2001-08-01 12:04:32 +00:00
fenner
db46728f21
Update our bpf.h with tcpdump.org's new DLT_ types.
...
Use our bpf.h instead of tcpdump.org's to build libpcap.
2001-07-31 23:27:06 +00:00
mp
8151115973
Only pull in the MD files if they exist. This allows for progressive
...
implementation and compilation when bringing up a new architecture.
2001-07-31 16:34:52 +00:00
mp
eb299211ae
Fix compilation errors by adding forward declarations and fix typo.
2001-07-31 16:10:51 +00:00
mp
9cd078f86a
Make include file consistent with the rest of libstand.
2001-07-31 15:49:50 +00:00
brian
2f4c944b65
Mention the sa_handler and sa_sigaction #defines in the synopsis.
...
Mark sa_sigaction consistently.
MFC after: 1 week
2001-07-31 09:33:08 +00:00
asmodai
f1723cd9ea
FreeBSD now also defines EIDRM and uses it.
...
Inspired by PR: 22470
Which was submitted by: Bjorn Tornqvist <bjorn@west.se>
MFC after: 1 week
2001-07-30 19:30:26 +00:00
asmodai
152e263c19
Remove bogus BUGS section.
...
FreeBSD _does_ define ENOMSG as per SVID when IPC_NOWAIT is set.
PR: 22470
Submitted by: Bjorn Tornqvist <bjorn@west.se>
MFC after: 1 week
2001-07-30 19:25:16 +00:00
markm
2754e9c466
Making this major bump was a BAD idea. The API change is internal (to PAM)
...
and it caused problems without solving any.
2001-07-30 09:56:38 +00:00
dd
5ec8420782
Rename mp.3 to libmp.3 since that's what all the other "library"
...
manual pages (e.g., libstand, libdisk) are called.
Submitted by: sheldonh
2001-07-30 09:15:27 +00:00
dd
9bad958190
Add a manual page for the libmp interface. Some of the descriptions
...
great, but then again neither is the interface it's documenting.
2001-07-30 09:13:56 +00:00
tmm
b7e79511f8
Correct the old length argument passed to sysctlbyname to be a pointer
...
to a size_t (not to an int).
MFC after: 2 days
2001-07-29 22:01:55 +00:00
markm
6b3146187f
(Re)Add an SSH module for PAM, heavily based on Andrew Korty's module
...
from ports.
2001-07-29 18:31:09 +00:00
sheldonh
8fbfd8b125
Avoid any chance of being misunderstood as having libelled developers
...
or developers' vendors without compromising the importance of warning
against bad practice.
Reported by: mjacob
MFC after: 1 week
2001-07-29 15:08:14 +00:00
dd
a912f88e22
Move SHLIB_MAJOR to below LIB and add a comment about why NO_WARNS is set.
2001-07-29 13:22:41 +00:00
dd
30dfa8c18c
Install the man page and add mp.h to INCS.
2001-07-29 13:19:24 +00:00
dd
16631fa6d4
Add a manual page for the libmp interface. It isn't real great, but
...
then again neither is the interface it's documenting.
2001-07-29 13:19:17 +00:00
dd
024a65957f
Don't xref mt(1) just because it mentions ioctl.
...
Submitted by: Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>
2001-07-29 09:17:54 +00:00
dd
43f18c90c8
Don't capitalize variable names.
2001-07-29 09:17:16 +00:00
dd
8497298808
ioctl(2) can return EFAULT from copyin.
...
PR: 29285
Submitted by: Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>
2001-07-29 09:16:07 +00:00
dd
a12e9377b2
Enable the new libmp in the build, and disable libgmp and its
...
henchmen.
2001-07-29 08:58:22 +00:00
dd
2aadb93301
This is the traditional BSD libmp interface implemented in terms of
...
the OpenSSL BIGNUM interface. It is provided for compatibility only
and should not be used in new code.
2001-07-29 08:49:15 +00:00
mikeh
b925de092b
Rename the GLOB_MAXPATH flag of glob(3) to GLOB_LIMIT to be compatible
...
with NetBSD and OpenBSD. glob(3) will now return GLOB_NOSPACE with
errno set to 0 instead of GLOB_LIMIT when we match more than `gl_matchc'
patterns. GLOB_MAXPATH has been left as an alias of GLOB_LIMIT to
maintain backwards compatibility.
Reviewed by: sheldonh, assar
Obtained from: NetBSD/OpenBSD
2001-07-29 00:52:37 +00:00
se
742d7aada7
The fix for schemeless and hostless URLs (rev. 1.27) broke the schemeless
...
proxy specification, which seems to be valid according to the man page.
Change the logic to consider "hostname:port" a hostname and port instead
of a file URL.
Approved by: des
2001-07-28 21:28:14 +00:00
chris
9ea3d9b848
Add cross-references for the new kldsym(2) man page.
2001-07-27 03:03:36 +00:00
chris
b40a76aaa8
Add a new kldsym(2) man page.
2001-07-27 02:56:16 +00:00
yokota
505859f37d
Fix spelling in the last commit. (Oh, I thought I had run ispell... ;-<
...
Spotted by: sheldonh
2001-07-26 09:46:08 +00:00
yokota
a3ac291cdb
Adds notes on program termination and signal handlers.
...
I revised the text after dd's kind review. So, if you find
any error, it is probably introduced by my last minutes'
update and is entirely my fault, not dd's.
Reviewed by: dd
2001-07-26 08:46:47 +00:00
sheldonh
1e628e76e1
The previous delta duplicated a significant amount of information
...
already found in the sigaction(2) manual.
As discussed with the committer of that delta, cross-reference the list
in sigaction(2) instead of duplicating the list of functions that are
safe for use within signal handlers.
2001-07-24 11:37:33 +00:00
kris
dd1f265a1a
Sync to OpenBSD (update comment and minor style change).
...
Obtained from: OpenBSD
MFC after: 1 week
2001-07-24 11:34:22 +00:00
kris
bec32b3e9b
Sync to OpenBSD:
...
Clarify that if strlcat() does not find a NUL within siz byte it
will not NUL terminate either.
Document boundary condition when size < strlen(dst).
"of", not "on" (from Henric Jungheim)
Obtained from: OpenBSD
MFC After: 1 week
2001-07-24 11:32:29 +00:00
yokota
bd11ff6285
- Do not call VGLEnd() and exit() to terminate the program
...
immediately when a signal is caught. Instead, defer
program termination until the next call to VGLCheckSwitch().
Otherwise, the video card may not be restored correctly
if the signal is seen while inside libvgl functions.
MFC after: 1 week
2001-07-24 11:15:20 +00:00
sheldonh
1b8c225dc1
The delta introduced in the previous revision and attributed to the
...
OpenBSD project had grammar problems and made no attempt to motivate
the practice of saving errno. Replace it with something better.
2001-07-24 11:15:13 +00:00
sheldonh
c81f0bb5a6
Finish the sweep of changes that fix doubled 'the'.
2001-07-24 08:30:55 +00:00
kris
f1ce55ab17
Add the list of signal-handler safe functions here too, so people can
...
find it more easily
Obtained from: OpenBSD
MFC After: 1 week
2001-07-24 08:26:37 +00:00
kris
2dedab32be
Add a few more functions which are safe to call from signal handlers,
...
and give a bit of advice.
Obtained from: OpenBSD
MFC After: 1 week
2001-07-24 08:24:50 +00:00
yar
267cc8ea92
Unify SEE ALSO sections of the kld*.2 and mod*.2 manpages.
...
Previously, some useful xrefs were missing.
Now each of the pages refers to all remaining section 2 pages,
to the kld(4) page, and to a related utility's (section 8) page.
2001-07-24 07:59:54 +00:00
ume
512b8c359f
Simplify IPv4 mapped IPv6 address handling.
...
Reviewed by: brian
MFC after: 5 days
2001-07-23 21:42:22 +00:00
assar
6ea84229c5
remove emalloc,ecalloc,erealloc,estrdup
2001-07-23 12:42:07 +00:00
assar
8668d65218
add ecalloc, emalloc, erealloc, estrdup - versions of the e-less
...
functions that exit instead of failing
2001-07-22 22:26:37 +00:00
mpp
b836d8030e
Fix some man page xrefs.
...
PR: docs/26065
MFC after: 1 week
2001-07-22 11:51:11 +00:00
brian
90a600f5b1
Hint getaddrinfo() correctly if we're looking up a name that we got from
...
an AF_INET6 address.
MFC after: 1 week
2001-07-21 00:18:54 +00:00
jasone
a9a7a5e9d6
Implement pthread_attr_[gs]etguardsize(). Non-default-size stacks used to
...
be malloc()ed, but they are now allocated using mmap(), just as the
default-size stacks are. A separate cache of stacks is kept for
non-default-size stacks.
Collaboration with: deischen
2001-07-20 04:23:11 +00:00
jlemon
303231dd3f
Document EVFILT_TIMER.
...
MFC after: 1 week
2001-07-19 18:35:19 +00:00
dd
6705744fe1
Don't claim that strncpy() is the same as strcpy().
...
PR: 29002
Submitted by: Joseph Mallett <jmallett@xMach.org>
2001-07-19 11:26:52 +00:00
ru
aab47f87b8
mdoc(7) police: fix markup.
2001-07-18 15:55:34 +00:00
ru
b2f5024e3b
mdoc(7) police: widen width of the options list.
2001-07-18 14:49:32 +00:00
des
35acbfe0b3
Unbreak parsing URLs that have a host part but no document part.
...
While we're here, fix a snprintf() usage warning.
2001-07-17 20:22:33 +00:00
markm
208d8e13d4
Update to the same level of debug-logging as the rest of the
...
FreeBSD/PAM modules.
2001-07-17 07:36:51 +00:00
markm
b179f8e35f
Update to the same code as in the pam_krb5.so port.
...
According to Peter, the port works - this needs more testing.
2001-07-17 07:34:36 +00:00
ru
7ebff87751
mdoc(7) police: Add strncpy() to the NAME section.
2001-07-16 12:47:34 +00:00
kris
354c502e4c
Remove unnecessary #include <stdlib.h>
...
Obtained from: NetBSD
MFC After: 1 week
2001-07-16 04:48:28 +00:00
kris
38c4ca6c4e
Oops, commit the version which actually works
...
Obtained from: NetBSD
MFC After: 1 week
2001-07-16 04:04:22 +00:00
kris
698159c01a
Avoid a compile-time format string warning
...
Obtained from: NetBSD
MFC After: 1 week
2001-07-16 03:55:47 +00:00
dd
911ca14c87
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
dd
a145482cf6
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
dd
7dc7a926d0
Set WARNS=2 on libraries that compile cleanly with it.
...
Submitted by: Mike Barcroft <mike@q9media.com>
2001-07-15 06:46:02 +00:00
iedowse
b855a121e2
Fix a memory leak in __rpcb_findaddr(), avoid compiler warnings.
...
Submitted by: Martin Blapp <mb@imp.ch>
2001-07-14 18:18:23 +00:00
markm
ada1f4d477
Use a better method of getting user credentials to account for
...
(legal) UID duplication.
Rename use_uid to auth_as_self for consistency with other modules.
2001-07-14 08:42:39 +00:00
markm
921b216c2d
Use a better method to get user credentials to account for (legal)
...
duplications of UID's in /etc/*passwd.
2001-07-14 08:38:24 +00:00
dd
bd37181c76
Recognize the %s format.
...
Submitted by: Thomas Zenker <thz@lennartz-electronic.de> and
Maxim Konovalov <maxim@macomnet.ru>, respectively
Reviewed by: -audit
2001-07-13 13:59:24 +00:00
ru
5001e16d30
mdoc(7) police: -xwidth has been fold into -width.
2001-07-13 09:09:52 +00:00
ru
80f926caa5
mdoc(7) police: fixed markup, a little bit.
2001-07-11 08:36:26 +00:00
ru
36e83f27aa
mdoc(7) police: fixed markup any numerous typos.
2001-07-11 08:35:34 +00:00
ru
d929062987
mdoc(7) police: removed punctuation after the last SEE ALSO xref.
2001-07-10 18:00:19 +00:00
obrien
5962fc3235
style nits
2001-07-10 17:48:07 +00:00
markm
a8b501863a
Fix a horrible bug introduced by myself where the options collection
...
keeps on growing as the module stack is parsed.
2001-07-10 16:59:30 +00:00
ru
36f138439b
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 14:16:33 +00:00
ru
317b7d8e37
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 13:41:46 +00:00
obrien
8cfb3274dd
MFS: add the FreeBSD history.
2001-07-10 00:12:50 +00:00
obrien
475aed9fb7
Give the FreeBSD history also.
2001-07-10 00:11:00 +00:00
obrien
6b523e5046
style nit
2001-07-09 23:12:23 +00:00
tobez
8e095496f1
Document more resolver(3) routines: dn_skip() from resolv.h, and
...
ns_get16(), ns_get32(), ns_put16(), and ns_put32() from arpa/nameser.h.
Markup by: ru
OK'ed by: markm
2001-07-09 20:46:00 +00:00
markm
88dfad0475
Clean up (and in some cases write) the PAM mudules, using
...
o The new options-processing API
o The new DEBUG-logging API
Add man(1) pages for ALL modules. MDOC-Police welcome
to check this.
Audit, clean up while I'm here.
2001-07-09 18:20:51 +00:00
markm
ff28ba8b35
Bump the major number. The libraries API has changed incompatibly.
2001-07-09 18:16:33 +00:00
markm
1b8cb1cd38
Almost completely rewrite the PAM module options processing
...
routines, and provide a more extended API for doing this.
Provide an API for debug logging.
Audit and clean up the code.
2001-07-09 18:14:43 +00:00
markm
5df2506446
Add the WANT_INSECURE_OPIE frob which is useful for debugging and
...
over secure (encrypted) links.
Add a MLINK for skey(4) to opie(4) to assist in the transition.
2001-07-09 18:08:16 +00:00
markm
431a592722
Axe S/Key. OPIE is the legal successor.
2001-07-09 17:52:34 +00:00
ru
1c060c459c
mdoc(7) police: eliminate -ww warnings.
2001-07-09 15:54:36 +00:00
dd
eaa6ee03b8
mdoc(7) police: remove extraneous .Pp before and/or after .Sh.
2001-07-09 09:54:33 +00:00
brian
8636b161b3
Fix the type of the NULL arg to execl()
...
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
des
0ca9dbc9d1
Handle shemeless, hostless URLs correctly.
2001-07-08 15:59:15 +00:00
mikeh
bc02f9cebe
Attempt to use the environment variable TMPDIR for the temporary
...
directory, defaulting to /tmp.
PR: bin/16924
Reviewed by: dd
MFC after: 2 weeks
2001-07-07 04:08:32 +00:00
ru
05e503d80a
mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).
2001-07-06 16:46:48 +00:00
ru
fd9d23bf28
mdoc(7) police: fixed formatting.
2001-07-06 07:29:59 +00:00
ru
9ca51e2245
mdoc(7) police: fixed markup and typo.
2001-07-05 11:24:26 +00:00
yar
0b890122b9
Use the .Rv macro to describe the return value.
...
Suggested by: ru
MFC after: 5 days
2001-07-04 13:07:38 +00:00
ru
8e7c49994c
mdoc(7) police: added missing newline after .Dv macro call,
...
removed hard sentence breaks.
2001-07-04 12:39:22 +00:00
ru
89c1410787
mdoc(7) police: use .Rv -std.
2001-07-04 12:32:43 +00:00
ru
3a4b4ffda9
mdoc(7) police: mark NULL with .Dv.
2001-07-04 12:04:25 +00:00
ru
4f8e2efff4
mdoc(7) police: fixed/simplified formatting.
2001-07-04 11:59:14 +00:00
ru
d9ff84e969
mdoc(7) police: sort xrefs.
2001-07-04 11:02:10 +00:00
ru
a12e4a842e
mdoc(7) police: print some example text with literal font.
2001-07-04 10:59:30 +00:00
ru
a74f22f5ac
mdoc(7) police: fixed bugs in rev. 1.19, split section headers names.
2001-07-04 10:53:15 +00:00
ru
132b374ea8
mdoc(7) police: compact VFCF_ list.
2001-07-04 10:42:03 +00:00
mjacob
b1c9f4a461
Make sure you don't have a file descriptor leak for the 'real'
...
underlying CAM device. This needs to be checked not only in
the open routine, but the device->fd has to be initialized
as well.
PR: 28688
Submitted (partially) by: T. William Wells <bill@twwells.com>
MFC after: 2 weeks
2001-07-04 07:43:10 +00:00
dd
d35295b408
Describe the condition when EACCES is returned more explicitly.
...
Submitted by: bde
2001-07-04 06:29:36 +00:00
dd
ebe0377235
mdoc(7) police: fix spacing issue
...
Submitted by: ru
2001-07-03 21:16:34 +00:00
yar
e3431f6089
First, fix a leftover of the cut'n'paste from the kld* pages:
...
change the name of the page (.Nm) from "kldstat" to "modstat".
Second, don't claim that modstat(2) always returns 0. Actually,
it behaves as most syscalls do - returns 0 on success, or -1
on failure.
MFC after: 5 days
2001-07-03 14:56:08 +00:00
dd
5ca96c95a7
EACCES may be returned if write permission was denied as well.
...
PR: 28553
Submitted by: Ronald F. Guilmette <rfg@monkeys.com>
2001-07-02 22:53:40 +00:00
mikeh
eb666cf8c5
Reset errno so that subsequent TFTP requests don't fail after the
...
first failure.
PR: misc/25502
MFC after: 2 weeks
2001-06-30 21:39:09 +00:00
deischen
5cd1eeb556
Clear the in thread scheduler flag after jumping to the start of
...
a signal handler from the scheduler.
MFC after: 1 week
2001-06-29 17:09:07 +00:00
dd
601dab0210
Fix a one-byte overrun.
...
PR: 28472
Submitted by: David Xu <davidx@viasoft.com.cn>
Obtained from: OpenBSD
2001-06-28 21:50:53 +00:00
dd
bd3a809aec
getcwd(3) is defined by POSIX, not ISO C.
...
Approved by: bde
2001-06-28 19:27:02 +00:00
dd
3f65223a56
Document the existing vfc_flags.
...
PR: 25837
Submitted by: Tony Finch <dot@dotat.at>
2001-06-28 06:50:19 +00:00
dd
b60e83c2e1
event.h -> sys/event.h
...
Submitted by: David Hill <david@phobia.ms>
2001-06-27 19:55:57 +00:00
ru
61d088ba8d
Fixed the brain-o in rev. 1.10: the logic check was reversed.
...
Reported by: Bernd Fuerwitt <bf@fuerwitt.de>
2001-06-27 14:11:25 +00:00
jasone
22f14eaadf
Fix a race condition in pthread_join(). All of the following must occur
...
atomically:
1) Search _thread_list for the thread to join.
2) Search _dead_list for the thread to join.
3) Set the running thread as the joiner.
While we're at it, fix a race in the case where multiple threads try to
join on the same thread. POSIX says that the behavior of multiple joiners
is undefined, but the fix is cheap as a result of the other fix.
2001-06-27 11:41:15 +00:00
gshapiro
b2bba7ca2a
Typo fix: requires -> reacquires
...
Submitted by: Murray S. Kucherawy <msk@sendmail.com>
MFC after: 3 days
2001-06-27 06:01:17 +00:00
chris
ff751ec930
Remove an extra word "fo" in the sentence "there is no process whose
...
process ID equals fo pid".
PR: 28436
Submitted by: Gregory Bond <gnb@itga.com.au>
2001-06-27 04:21:28 +00:00
ache
13343a93d7
Return "" if reallocf() fails
2001-06-25 20:56:59 +00:00
ache
23e42f0be0
Describe success return value
2001-06-25 20:50:06 +00:00
ache
a5cf671bf7
Add transition period hack allowing old locale names return proper codeset too
2001-06-25 09:03:10 +00:00