Robert Drehmel
fb08c0489d
- Move the loop conditional into the "for" header.
...
- Remove redundant "? :" construct.
style(9):
- Place a space after return statements.
- Compare pointers to NULL.
- Do not use ! to compare a character to nul.
2002-05-27 11:01:30 +00:00
Dima Dorfman
f500ce59aa
Remove spurious period.
2002-05-27 03:45:27 +00:00
Dima Dorfman
dc6ca5b527
Remove extra word.
...
Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>
2002-05-26 05:24:53 +00:00
Jake Burkholder
cae52cb693
These files are no longer used.
2002-05-24 04:41:02 +00:00
Jake Burkholder
530622075e
Generate the normal asm stubs for all sysv system calls. Use these instead
...
of C wrappers for the *sys indirect system calls. The indirect system calls
are horribly broken on sparc64.
Submitted by: tmm
2002-05-23 23:51:57 +00:00
Robert Drehmel
ccccc4e1c3
Avoid wandering over the beginning of the actual buffer
...
if the passed template string contains only 'X' characters.
Submitted by: Mark Andrews <marka@isc.org> (patch modified)
PR: 38402
2002-05-23 14:21:02 +00:00
Benno Rice
56c18ed0ed
Let this code know about PowerPC.
2002-05-21 03:40:42 +00:00
Peter Pentchev
4cfccbc445
Update the EINVAL description again - it turns out that EINVAL
...
may be returned by Q_SETQUOTA as well as the originally listed
Q_GETQUOTA.
Noticed by: dd
Approved by: silence from dd
MFC after: 3 days
2002-05-17 16:39:21 +00:00
Benno Rice
27c9ea57e8
_C_LABEL -> CNAME
...
Forgotten by: benno
2002-05-17 05:11:13 +00:00
Benno Rice
c2cba7c501
Flesh this out, based on the NetBSD version.
...
Reviewed by: obrien
2002-05-17 01:58:55 +00:00
David E. O'Brien
20764f1db8
Grow RSYSCALL.
2002-05-15 21:25:47 +00:00
David E. O'Brien
c027737942
Our default syscall.S is identical to what was explicitly being done for
...
Alpha and IA-64. So there is no need for special handling.
2002-05-15 21:17:59 +00:00
David E. O'Brien
c623e77f5b
Blah, fix stupid syntax error.
...
(where's the hat?)
2002-05-15 20:58:03 +00:00
David E. O'Brien
18c6222e38
host-network order conversion routines.
...
Luckily we are network order, so there is little to be done. :-)
2002-05-15 20:40:35 +00:00
David E. O'Brien
fa2259b9bb
PowerPC does not have profile support yet.
2002-05-15 20:07:31 +00:00
David E. O'Brien
7c713eb208
Beginnings of syscall bits for PowerPC. These are no doubtedly wrong,
...
but it gets the build father and is in the right direction.
Partially obtained from: NetBSD
2002-05-15 20:02:52 +00:00
Tony Finch
cfad593dbd
Clarify that the value of getc() etc. is an unsigned char converted
...
to an int (as per the C standard) i.e. it can be passed straight to
isalpha() etc.
Approved by: dwmalone (mentor)
MFC after: 3 days
2002-05-15 16:55:58 +00:00
Peter Pentchev
4ceff89f44
Document Q_GETQUOTA returning EINVAL when quotas are not enabled
...
on the filesystem.
PR: doc/37839
Submitted by: "Michael R. Wayne" <wayne@staff.msen.com>
Approved by: silence on -doc
MFC after: 3 days
2002-05-14 07:27:20 +00:00
Jake Burkholder
5893472b2d
Use the right byte order for unaligned stores. <blush>.
2002-05-13 22:48:01 +00:00
Jake Burkholder
30eeff14ef
Handle alignment fault fixups in libc rather than in the kernel.
2002-05-13 04:35:08 +00:00
Poul-Henning Kamp
77068a7fe2
Retire the bogus uses of the disklabel field d_sbsize and begin to
...
initialize it to zero so we don't have to have everbody and their
aunt including FFS specific header files.
Sponsored by: DARPA & NAI Labs.
2002-05-12 20:49:41 +00:00
Dima Dorfman
11612afabe
s/demon/daemon/
2002-05-12 00:22:38 +00:00
Mike Barcroft
f605f8168e
Document that <netinet/in.h> can also provide prototypes. Change
...
wording related to standards conformance.
2002-05-11 23:22:54 +00:00
Jake Burkholder
025c284b8d
Add a support macro to convert the 5-bit packed register field of
...
a floating point instruction into a 6-bit register number for
double and quad arguments.
Make use of the new INSFPdq_RN macro where apporpriate; this
is required for correctly handling the "high" fp registers
(>= %f32).
Fix a number of bugs related to the handling of the high registers
which were caused by using __fpu_[gs]etreg() where __fpu_[gs]etreg64()
should be used (the former can only access the low, single-precision,
registers).
Submitted by: tmm
2002-05-11 21:20:05 +00:00
Peter Wemm
9269daa2fb
Avoid casting a different sized integer to a pointer on LP64 systems.
2002-05-10 12:50:59 +00:00
Josef Karthauser
1063e12617
Replace /kernel with /boot/kernel/kernel.
...
PR: docs/37757
Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
2002-05-09 11:47:42 +00:00
Mike Silbersack
3a0b92ec0f
Some updates to mention accept filters and how
...
listen queues work in a syncache world.
MFC after: 3 days
2002-05-08 18:19:01 +00:00
Dag-Erling Smørgrav
719137a64d
Fix bug that causes passwd and friends to fail when the user has a '+' in
...
their passwd file for NIS because _PWF_SOURCE is not set.
Submitted by: amigus (perforce change 10969)
2002-05-07 23:26:00 +00:00
David E. O'Brien
1f92f7e5d3
Use __FBSDID
2002-05-06 23:24:39 +00:00
David E. O'Brien
fd97c6aea9
We typically don't add trailing /'s.
2002-05-06 23:24:16 +00:00
Maxime Henrion
b98b0a890e
Document the lchflags(2) syscall.
2002-05-05 23:51:32 +00:00
Garrett Wollman
0d84b47e9c
Fix fd leak. Threads people: does the call above to `access' need to be
...
underscored as well?
PR: 37717
Submitted by: fred@clift.org (slightly modified by me)
2002-05-03 17:28:28 +00:00
Jake Burkholder
621136996a
Add an alternate signal trampoline to libc; add a wrapper for the sigtramp
...
install sysarch, to be called from _start.
This will allow the stack to be mapped non-executable, as required by the
sparc v9 abi.
2002-04-29 18:14:44 +00:00
Dag-Erling Smørgrav
f249dbcc71
Spell void * as void * rather than caddr_t. This is complicated by the
...
fact that caddr_t is often misspelled as char *.
Sponsored by: DARPA, NAI Labs
2002-04-28 15:18:50 +00:00
Jake Burkholder
05f2fa5cee
Add code to emulate arithmetic, comparison and conversion operations
...
on long double, which are not implemented in hardware on any UltraSPARC
chip that I know of. This just calls into the existing floating point
emulator, which is still needed to emulate other floating point operations
in certain conditions. Without this gcc has to generate the quad floating
point instructions directly, which sometimes causes internal compiler
errors.
Reviewed by: tmm
2002-04-28 02:36:36 +00:00
Jake Burkholder
8c93421144
Emulate ldq and stq (load/store long double) instructions. GCC has started
...
using these to load long doubles, but they aren't implemented in hardware
on (at least) UltraSPARC I and II machines.
Emulate popc in the user trap handler as well.
Re-arrange slightly to make support functions more accessible.
Reviewed by: tmm
2002-04-27 21:56:28 +00:00
Dag-Erling Smørgrav
73c9eb2fbf
#include <string.h> instead of <strings.h>
2002-04-25 18:14:39 +00:00
Poul-Henning Kamp
9908ed2b1e
Constify _malloc_options.
2002-04-24 16:49:36 +00:00
Bill Fenner
946b2d0057
Implement several of the c99 updates to scanf(3):
...
- New length modifiers: hh, j, ll, t, z.
Still to do:
- %C, %S, %lc, %ls (wide character support)
- %a/%A (exact hex representation of floating-point numbers)
Removed old compatability equivalents:
- %D for %ld, %O for %lo, %X for %lx, %E and %F for %le & %lf (these
were buggy anyway, since they should have represented %Le & %Lf).
- %[unknown uppercase char] for %ld, %[unknown lowercase char] for %d
2002-04-20 17:00:56 +00:00
Ruslan Ermilov
bce4a2dde1
mdoc(7) police: polishing.
2002-04-19 11:24:02 +00:00
SUZUKI Shinsuke
88ff5695c1
just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD.
...
(based on freebsd4-snap-20020128)
Reviewed by: ume
MFC after: 1 week
2002-04-19 04:46:24 +00:00
Maxime Henrion
76b2224aad
Connect the kenv.2 manpage to the build.
2002-04-18 16:46:23 +00:00
Maxime Henrion
ccee6a3c72
Add a manpage for the kenv(2) syscall that Chad David kindly
...
wrote for me.
Submitted by: davidc
2002-04-18 16:45:57 +00:00
Josef Karthauser
d2c0ac28da
Support the snapshot file flag, so that tools like 'ls -ol' work
...
as expected on snapshot files.
PR: bin/37038
Submitted by: Joshua Goodall <joshua@roughtrade.net>
2002-04-16 11:03:22 +00:00
Hajimu UMEMOTO
7b0e82a919
Add awareness of an IPv6.
...
MFC after: 1 week
2002-04-15 18:45:20 +00:00
Jacques Vidrine
9368e99f25
Quoting log message for OpenBSD rev 1.7:
...
``Tack on MagniComp (BSD) license since this originally came from rdist.''
Obtained from: OpenBSD
2002-04-15 12:46:07 +00:00
Dag-Erling Smørgrav
00d9b6b8d6
Missed a spot in previous commit.
...
Sponsored by: DARPA, NAI Labs
2002-04-15 00:21:25 +00:00
Dag-Erling Smørgrav
e479b601dd
(ab)use unused bits in the pw_fields member of struct passwd to record
...
the source of the data contained in the structure.
Sponsored by: DARPA, NAI Labs
2002-04-14 22:24:55 +00:00
Jeroen Ruigrok van der Werven
eb12e52a25
Remove the hard-coded limit of 3 bytes for EUC encodings.
...
Satoshi NIIMI-san kindly explained that EUC does not limit the byte length to
any arbitrary number.
We now set the limit to the maximum octet length of the codeset and it is
locale-specific.
Submitted by: Yong-Jhen Hong <winard@ms11.url.com.tw>
2002-04-14 10:55:42 +00:00
Dima Dorfman
5041f86c28
Correct markup.
2002-04-14 02:29:20 +00:00