Commit Graph

5823 Commits

Author SHA1 Message Date
deischen
f369565817 Add the ability to recognize old references to keys, and return NULL
when old keys are referenced (after pthread_key_delete()) via
pthread_getspecific().
2002-03-19 22:58:56 +00:00
peter
824789c4ed Add -ffreestanding to CFLAGS for ia64. This should probably be global
like on the kernel.
2002-03-19 12:03:05 +00:00
ru
750b21097f mdoc(7) police: fix SYNOPSIS, sort xrefs, kill extra whitespace. 2002-03-18 15:59:53 +00:00
ru
9380002871 mdoc(7) police: nits. 2002-03-18 15:55:53 +00:00
ru
645af89f24 mdoc(7) police: sort xrefs, kill extra whitespace. 2002-03-18 15:52:28 +00:00
ru
94b265f3f3 mdoc(7) police: tidy up. 2002-03-18 15:44:27 +00:00
cjc
51b661db90 Fix world breakage introduced by my recent modifications to
chpass(8). The relations between libc, libpam, chpass, passwd, and
vipw are a mess and probably should be cleaned up.

Submitted by:	Peter Pentchev <roam@ringlet.net>
2002-03-18 12:55:28 +00:00
dd
64fba57403 mdoc(7) police: bump document date to the date of the last interface
change (revision 1.2 of devname.c on 1999/07/18), don't put quotes
around a path, and use .Dv where appropriate.
2002-03-18 02:36:43 +00:00
dd
15e2eac5f3 Update to reflect reality; devname(3) hasn't returned NULL on failure
since revision 1.2 of devname.c (1999/07/18).  While I'm here, note,
in the BUGS section, that the returned pointer is to a static buffer.
2002-03-18 02:32:53 +00:00
dd
ad0f3fa03e Features are deprecated, not depreciated.
PR:		35987
Submitted by:	shill@free.fr
2002-03-18 01:52:19 +00:00
sobomax
9d703dcfed Add splitfs vfs layer into libstand, which allows loading big kernels and
modules split across several physical medias. Following is how it works:

The splitfs code, when asked to open "foo" looks for a file "foo.split"
which is a text file containing a list of filenames and media names, e.g.

	foo.aa "Kernel floppy 1"
	foo.ab "Kernel floppy 2"
	foo.ac "Kernel and modules floppy"

For each file segment, the process is:

- try to open the file
- prompt "Insert the disk labelled <whatever> and press any key..."
- try to open the file
- return error if file could not be located

RE team is free to use this feature in the upcoming 5.0-DP1.

Reviewed by:	msmith, dcs
2002-03-17 12:18:05 +00:00
obrien
2442cd3075 Revert part of rev 1.3 -- we need the calls to _init and _fini. 2002-03-16 20:38:46 +00:00
des
a38b47dc4f Document PT_IO, and move the comment about machine-dependent requests
below PT_[GS]ET_{,DB,FP}REGS.
2002-03-16 03:50:32 +00:00
des
d3afd728d2 Further cleanup (punctuation, genitive) 2002-03-16 03:26:32 +00:00
des
6c5e2c92eb Insert newlines between sentences and rewrap paragraphs. No changes to
the actual text or markup.
2002-03-16 02:54:17 +00:00
bsd
0c6f58d347 Fix the return code from pthread_rwlock_try[rw|rd]lock() functions;
these should return EBUSY when the calling thread would block.

MFC after: 2 weeks
2002-03-15 18:27:58 +00:00
ru
e1cb7e39d6 mdoc(7) police: tiny fixes. 2002-03-15 18:09:32 +00:00
ru
1e3222d346 mdoc(7) police: expand contractions. 2002-03-15 18:06:25 +00:00
ru
ce2dae1bcd mdoc(7) police: hard sentence breaks, whitespace at EOL, contractions. 2002-03-15 18:04:00 +00:00
ru
f77092ba10 mdoc(7) police: Fix xref to timeradd(3). 2002-03-15 17:59:46 +00:00
ru
1522ba421d mdoc(7) police: punctuation nit. 2002-03-15 17:57:41 +00:00
ru
de85ac9888 bde got caught by mdoc(7) police. :-) 2002-03-15 17:53:20 +00:00
ru
73c43fbcf7 mdoc(7) police: don't you notice the warnings? 2002-03-15 17:50:21 +00:00
ru
0bb11678ac Come on guys, you can't just take OpenBSD manpage and commit it
over someone else's fixes; this is at least offensive.  If you
have problems doing a proper merge, we are here, your fellow
committers.  :-(

Reapply markup fixes from revision 1.2 and fix some more.  Also
fix the $OpenBSD$ tag.
2002-03-15 17:46:53 +00:00
obrien
fee9a30a85 Remove trailing characters from #endif.
Actually this #endif is not needed, so remove leading characters also.
2002-03-15 09:58:45 +00:00
des
7f7038bdcf NAI DBA update. 2002-03-14 23:27:59 +00:00
markm
02184350e0 Remove the use of random(3), and encapsulate the salt-generation in
its own function. The use of arc4random(3) is hopeless overkill here,
but that does not hurt anything.

Requested by:	ache
2002-03-14 16:41:36 +00:00
maxim
1bda6219a2 Clarify fcntl(2) and flock(2) interoperability.
PR:		docs/23353
Reviewed by:	ru, dillon
Approved by:	ru
MFC after:	3 days
2002-03-14 11:02:35 +00:00
green
77c41bfb75 Remove some files we don't want. 2002-03-11 22:53:27 +00:00
green
afc9128405 s/nilename/filename/ 2002-03-11 22:36:45 +00:00
green
7ca574f59c Fix conflicts. 2002-03-11 22:36:26 +00:00
green
08dc078a21 This commit was generated by cvs2svn to compensate for changes in r92111,
which included commits to RCS files with non-trunk default branches.
2002-03-11 22:30:00 +00:00
green
0288c7557e Import zlib 1.1.4 onto the vendor branch. 2002-03-11 22:30:00 +00:00
green
bbf9985351 This commit was generated by cvs2svn to compensate for changes in r92109,
which included commits to RCS files with non-trunk default branches.
2002-03-11 22:29:59 +00:00
green
502a015d4b Import zlib 1.1.4 onto the vendor branch. 2002-03-11 22:29:59 +00:00
tmm
bef62c8ae4 Fix some bugs that would prevent %fsr to be set correctly, and add
support for fcmp and fcmpe instructions with a condition code
specification other than %fcc0.
This (primarily the first part) seems to fix a lot of problems that
people were seeing, e.g. perl and gawk failures.

Reported and analyzed by:	wollman
2002-03-11 03:18:17 +00:00
tmm
add3c8c972 Account for <machine/fsr.h> no longer being usable for assembler code. 2002-03-11 03:13:02 +00:00
tmm
30dcded43a Fix __dtoul to work on sparc64 (it used a half-way v8 stack layout),
and make it PIC-aware.
2002-03-11 03:10:55 +00:00
tmm
9d0a7ccb85 Save/restore the %y register around calls to the C user trap handler;
gcc emits the deprecated sparc v8 instructions that use this register
when optimizing for UltraSparc machines because they are apparetly
faster then their v9 counterpars there.
2002-03-11 02:53:03 +00:00
obrien
f458f10478 Sync with csu/alpha/Makefile: build crt{i,n}.o.
Leave crtbegin* to the compiler vendor.
2002-03-10 23:33:49 +00:00
billf
f9f9d37294 cosmetic: spell 'cashe' as 'cache' 2002-03-10 12:08:28 +00:00
dd
e91b891fb5 Don't refer the reader to look for a word that doesn't exist anywhere
else in the page.

PR:		35623
Submitted by:	Gary W. Swearingen <swear@blarg.net>
2002-03-10 09:20:28 +00:00
mike
b8cc0d1207 o Don't require long long support in bswap64() functions.
o In i386's <machine/endian.h>, macros have some advantages over
  inlines, so change some inlines to macros.
o In i386's <machine/endian.h>, ungarbage collect word_swap_int()
  (previously __uint16_swap_uint32), it has some uses on i386's with
  PDP endianness.

Submitted by:	bde

o Move a comment up in <machine/endian.h> that was accidentially moved
  down a few revisions ago.
o Reenable userland's use of optimized inline-asm versions of
  byteorder(3) functions.
o Fix ordering of prototypes vs. redefinition of byteorder(3)
  functions, so that the non-GCC (libc asm) case has proper
  prototypes.
o Add proper prototypes for byteorder(3) functions in <sys/param.h>.
o Prevent redundant duplicate prototypes by making use of the
  _BYTEORDER_PROTOTYPED define.
o Move the bswap16(), bswap32(), bswap64() C functions into MD space
  for platforms in which asm versions don't exist.  This significantly
  reduces the complexity of some things at the cost of duplicate code.

Reviewed by:	bde
2002-03-09 21:02:16 +00:00
dwmalone
0379e0b3d7 If syslog fails to talk to syslogd, then it tries to write a message
to the console in a final attempt to log something. Make this final
attempt non-blocking so that a blocking console doesn't end up
blocking process which attempt to syslog something.

In particular, this means you should be able to su and fix the
problem if the console becomes blocking.

MFC after:	3 weeks
2002-03-09 11:38:01 +00:00
dd
2984232a96 Correct a typo.
Submitted by:	peter.kusenda@accenture.com
2002-03-09 07:05:22 +00:00
dd
247e6b16ee This API will appear in FreeBSD 4.6. 2002-03-09 05:19:21 +00:00
dd
69772af884 Bring a comment in line with the code, and fix some spelling errors
while I'm here.

PR:		35394
Submitted by:	andrew@ugh.net.au
2002-03-09 04:00:53 +00:00
green
fa8475a7f6 Fix build. I commented out getpass() in readpassphrase.c because the
implementation did not match our manpage description (i.e., it could
return NULL).  I mistakenly thought we were still using getpass.c
because, for some reason, CVS never removed it from the tree.

Pointy hat received from:	alfred
Kick in the groin to:	CVS
2002-03-09 03:16:41 +00:00
green
e81a222988 Update readpassphrase(3)to the latest revisions. Changes are mainly due
to return value constraints now changing as well as more intelligent
handling of signals.

Obtained from:	OpenBSD
2002-03-08 21:14:00 +00:00
rwatson
3f54e70a53 Improve punctuation consistency: all errors had a '.' after them
except ENOATTR.
2002-03-08 21:00:27 +00:00