Peter Wemm
cc2dbb21e5
Move swapcontext.c to the ${MACHINE_ARCH}/gen/Makefile.inc area, otherwise
...
it causes undefined references to getcontext() and setcontext() on
platforms other than i386 and alpha.
2002-03-21 06:45:32 +00:00
Ruslan Ermilov
6dd2704c7a
mdoc(7) police: Fixed the spammage of this file with trailing whitespaces
...
in revisions 1.26-1.28. Fixed two bugs in punctuation cleanup in rev. 1.27.
Removed hard sentence break not killed by rev. 1.26.
2002-03-20 13:40:08 +00:00
Ruslan Ermilov
c8c5079d10
mdoc(7) police: tidy up.
2002-03-18 15:44:27 +00:00
Dima Dorfman
1dd9f42a29
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
Dima Dorfman
f04938aa8e
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
Dima Dorfman
8c237a536c
Features are deprecated, not depreciated.
...
PR: 35987
Submitted by: shill@free.fr
2002-03-18 01:52:19 +00:00
Dag-Erling Smørgrav
042df45ade
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
Dag-Erling Smørgrav
8bd8a375a4
Further cleanup (punctuation, genitive)
2002-03-16 03:26:32 +00:00
Dag-Erling Smørgrav
c2912c0369
Insert newlines between sentences and rewrap paragraphs. No changes to
...
the actual text or markup.
2002-03-16 02:54:17 +00:00
Ruslan Ermilov
d78dca323f
mdoc(7) police: hard sentence breaks, whitespace at EOL, contractions.
2002-03-15 18:04:00 +00:00
Ruslan Ermilov
ba8bcff1e8
mdoc(7) police: Fix xref to timeradd(3).
2002-03-15 17:59:46 +00:00
Ruslan Ermilov
d7396394e7
mdoc(7) police: punctuation nit.
2002-03-15 17:57:41 +00:00
Ruslan Ermilov
dab055db89
bde got caught by mdoc(7) police. :-)
2002-03-15 17:53:20 +00:00
Ruslan Ermilov
9a04350e3d
mdoc(7) police: don't you notice the warnings?
2002-03-15 17:50:21 +00:00
Ruslan Ermilov
f3a90e8782
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
David E. O'Brien
68a6b5e1ba
Remove trailing characters from #endif.
...
Actually this #endif is not needed, so remove leading characters also.
2002-03-15 09:58:45 +00:00
Maxim Konovalov
999ad26edb
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
Thomas Moestl
d095bc220d
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
Thomas Moestl
61de6bb54c
Account for <machine/fsr.h> no longer being usable for assembler code.
2002-03-11 03:13:02 +00:00
Thomas Moestl
57f31f4714
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
Thomas Moestl
9300cb7db7
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
Bill Fumerola
29ec623730
cosmetic: spell 'cashe' as 'cache'
2002-03-10 12:08:28 +00:00
Dima Dorfman
38261ac8d6
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
David Malone
94998878b7
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
Dima Dorfman
6b663fd674
Correct a typo.
...
Submitted by: peter.kusenda@accenture.com
2002-03-09 07:05:22 +00:00
Dima Dorfman
ca4b6b3910
This API will appear in FreeBSD 4.6.
2002-03-09 05:19:21 +00:00
Dima Dorfman
235d6772d5
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
Brian Feldman
44f7d6af24
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
Brian Feldman
a7a8a766e7
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
Robert Watson
147273e8ca
Improve punctuation consistency: all errors had a '.' after them
...
except ENOATTR.
2002-03-08 21:00:27 +00:00
Brian Feldman
9d9737ecb2
Add new errno ``ENOATTR''.
2002-03-07 15:13:44 +00:00
Maxim Konovalov
e98c156beb
Add GETPID to the list of operations for which semctl(2) returns the value.
...
Reviewed by: alfred, ru
Approved by: ru
MFC after: 3 days
2002-03-06 14:14:36 +00:00
Eric Melville
ee6c974de4
Add a carriage return to each function declaration, and make use of ID tag
...
macros.
MFC after: 1 day
2002-03-06 03:26:11 +00:00
Tor Egge
df140f7277
When multiple threads call atexit at the same time, some operations must
...
be serialized. A mutex is used to protect the critical regions.
sbrk() and brk() are not thread safe. Replace use of sbrk() with
a call to malloc to avoid race when one thread calls atexit
while another thread calls malloc.
Reviewed by: deischen
2002-03-05 17:34:37 +00:00
Jake Burkholder
3ff2c61db8
Add fpsetmask(). Needed to build miniperl.
...
Obtained from: netbsd
2002-03-05 04:03:57 +00:00
Jake Burkholder
f496405572
Fix a bug where siglongjmp would clobber the argument to return from
...
sigsetjmp. It would return the value of the signal flag, instead.
Pointy hat to: jake
2002-03-05 04:02:04 +00:00
Thomas Moestl
49a64cb475
Connect the sparc64 userland fp emulator to the build.
2002-03-05 00:00:40 +00:00
Brian Feldman
92369d84a9
Check if string is not NULL, not *string, before setting *string.
2002-02-27 22:00:44 +00:00
Dima Dorfman
76183f3453
Introduce a version field to `struct xucred' in place of one of the
...
spares (the size of the field was changed from u_short to u_int to
reflect what it really ends up being). Accordingly, change users of
xucred to set and check this field as appropriate. In the kernel,
this is being done inside the new cru2x() routine which takes a
`struct ucred' and fills out a `struct xucred' according to the
former. This also has the pleasant sideaffect of removing some
duplicate code.
Reviewed by: rwatson
2002-02-27 04:45:37 +00:00
Alfred Perlstein
ef18a7a841
use _GENERIC_DIRSIZ(dp) to avoid copying too much of the dirent over
...
the user supplied buffer. this can be a problem when the user doesn't
supply a full dirent and we corrupt their memory.
2002-02-26 21:39:32 +00:00
Maxim Sobolev
b73aa6457c
Per POSIX <grp.h> doesn't require <sys/types.h>.
...
Submitted by: ache
2002-02-25 17:20:40 +00:00
Thomas Moestl
4895e965c3
Add userland floating point emulator code for sparc64. This is a port
...
of the (never committed) in-kernel version (with some optimizations and
cleanups), which in turn was ported from NetBSD.
2002-02-23 21:37:18 +00:00
Jake Burkholder
dfca860bfc
Add ifdefs for sparc64.
2002-02-23 19:05:26 +00:00
Jake Burkholder
3b16ee2c6c
Fix wrong offsets. Add offsets for %fsr and %tstate.
...
Submitted by: tmm
2002-02-23 19:01:22 +00:00
Jake Burkholder
d1497824f0
Add space for %fsr and %tstate to utrapframe. Save them in the generic
...
user trap entry code. Restore %asi and %ccr from the saved %tstate before
returning to the trapping user code.
Submitted by: tmm
2002-02-23 19:00:30 +00:00
Chris D. Faulhaber
a82f127b41
o style(9) and consistency fix:
...
- if (!var) -> if (var == NULL)
o spelling fix (althouh -> although)
Reviewed by: rwatson
Obtained from: TrustedBSD Project
2002-02-21 23:18:04 +00:00
Chris D. Faulhaber
9fd46b0237
o style(9) and consistency fixes:
...
- if (!var) -> if (var == NULL)
- return val; -> return (val);
Reviewed by: rwatson
Obtained from: TrustedBSD Project
2002-02-21 23:17:19 +00:00
Chris D. Faulhaber
e146d0bc6a
Add more argument checking
...
Reviewed by: rwatson
Obtained from: TrustedBSD Project
2002-02-21 23:13:06 +00:00
Chris D. Faulhaber
c61eb011c4
static'ize and declare functions
...
Reviewed by: rwatson
Obtained from: TrustedBSD Project
2002-02-21 23:12:25 +00:00
Warner Losh
576541a9e6
Fixed divots that I created when I moved prototypes of group_from_gid
...
and user_from_uid to grp.h and pwd.h. Update the man pages.
Submitted by: David Malone
Pointy hat to: imp
2002-02-19 00:05:59 +00:00