peter
e0773a724e
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
ru
17501cd945
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
ru
94b265f3f3
mdoc(7) police: tidy up.
2002-03-18 15:44:27 +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
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
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
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
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
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
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
green
965906f60d
Add new errno ``ENOATTR''.
2002-03-07 15:13:44 +00:00
maxim
a13147ab27
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
ad9d9dfa1a
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
tegge
9450e3c22c
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
605c439175
Add fpsetmask(). Needed to build miniperl.
...
Obtained from: netbsd
2002-03-05 04:03:57 +00:00
jake
e4766db304
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
tmm
1e66eafc6c
Connect the sparc64 userland fp emulator to the build.
2002-03-05 00:00:40 +00:00
green
669b90746e
Check if string is not NULL, not *string, before setting *string.
2002-02-27 22:00:44 +00:00
dd
c8a6bd9922
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
a375f90225
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
sobomax
c70d19ad22
Per POSIX <grp.h> doesn't require <sys/types.h>.
...
Submitted by: ache
2002-02-25 17:20:40 +00:00
tmm
c0c8cd1eeb
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
e6a3a506a5
Add ifdefs for sparc64.
2002-02-23 19:05:26 +00:00
jake
9cdf1cce75
Fix wrong offsets. Add offsets for %fsr and %tstate.
...
Submitted by: tmm
2002-02-23 19:01:22 +00:00
jake
a349eff875
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
jedgar
e9a25813c3
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
jedgar
d958ae799c
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
jedgar
6452c2e85d
Add more argument checking
...
Reviewed by: rwatson
Obtained from: TrustedBSD Project
2002-02-21 23:13:06 +00:00
jedgar
7b5185bd4c
static'ize and declare functions
...
Reviewed by: rwatson
Obtained from: TrustedBSD Project
2002-02-21 23:12:25 +00:00
imp
60cc340d82
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