robert
1a1155b204
- 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
dd
ef78f19043
Remove spurious period.
2002-05-27 03:45:27 +00:00
dd
1bb2478dbe
Remove extra word.
...
Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>
2002-05-26 05:24:53 +00:00
des
2de71ade06
Add openpam_nullconv.3.
2002-05-24 13:22:15 +00:00
des
418fa5ac12
Add missing include.
2002-05-24 13:20:40 +00:00
jake
e35256e809
These files are no longer used.
2002-05-24 04:41:02 +00:00
deischen
9ba1f9fa38
Revamp suspend and resume. While I'm here add pthread_suspend_all_np()
...
and pthread_resume_all_np(). These suspend and resume all threads except
the current thread, respectively. The existing functions pthread_single_np()
and pthread_multi_np(), which formerly had no effect, now exhibit the same
behaviour and pthread_suspend_all_np() and pthread_resume_all_np(). These
functions have been added mostly for the native java port.
Don't allow the uthread kernel pipe to use the same descriptors as
stdio. Mostily submitted by Oswald Buddenhagen <ossi@kde.org>.
Correct some minor style nits.
2002-05-24 04:32:28 +00:00
jake
d6dcf86c81
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
des
617cfa745a
Just to show that PAM can do almost anything from the ridiculous to the
...
obscene, or - as they say in New York - sophisticated, add pam_echo(8) and
pam_exec(8) to our ever-lengthening roster of PAM modules.
Sponsored by: DARPA, NAI Labs.
2002-05-23 22:03:06 +00:00
robert
6131a2e28e
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
des
33ce52c25a
Hide a couple of unguarded error returns behind the no_fail test.
2002-05-23 00:02:59 +00:00
jmallett
f49de03759
Free old_pwd only in the code path where it has been allocated.
...
Reviewed by: des
2002-05-22 23:18:25 +00:00
peter
1a267f24ca
Make this a little easier to build standalone. (same change as libpanel)
2002-05-21 07:08:30 +00:00
peter
d8d8936d7d
Initial update of bmake glue for ncurses-5.2-20020518
2002-05-21 05:41:07 +00:00
peter
6c92d517b8
Initial update of bmake glue for ncurses-5.2-20020518. More to come.
2002-05-21 05:40:28 +00:00
benno
e55ebd8f96
Spread the word of PowerPC.
2002-05-21 04:00:47 +00:00
benno
db41f480f0
Let this code know about PowerPC.
2002-05-21 03:40:42 +00:00
jake
db4b2fc42b
Catch up to tte.h changes.
2002-05-21 02:22:49 +00:00
iedowse
434d378ed7
Use an explicitly-sized type instead of daddr_t for on-disk block
...
numbers.
2002-05-19 10:50:38 +00:00
ru
1c035eeb5c
mdoc(7) police: fixed the whatis entry.
2002-05-18 15:20:28 +00:00
phk
768f23ab17
Don't try to build libc_r on sparc64, the _atomic_lock.S file isn't implemented.
2002-05-18 09:14:36 +00:00
phk
317736446e
UFS indirect blocks are size u_int32_t, not daddr_t
2002-05-18 09:07:12 +00:00
roam
feae66ee95
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
952f608b76
_C_LABEL -> CNAME
...
Forgotten by: benno
2002-05-17 05:11:13 +00:00
benno
224e5ccc85
Flesh this out, based on the NetBSD version.
...
Reviewed by: obrien
2002-05-17 01:58:55 +00:00
obrien
c053d9aa39
Grow RSYSCALL.
2002-05-15 21:25:47 +00:00
obrien
1b12a0abfe
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
obrien
dde959e18d
Blah, fix stupid syntax error.
...
(where's the hat?)
2002-05-15 20:58:03 +00:00
obrien
4f13c4faf6
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
obrien
1250c0d8e3
Do not build pam_ssh if NOSECURE is set (NO_OPENSSL is on a subset of NOSECURE)
2002-05-15 20:25:32 +00:00
obrien
5bb9f5bc9f
Do not build libmp if NOSECURE is set (NO_OPENSSL is on a subset of NOSECURE)
2002-05-15 20:22:50 +00:00
obrien
b966bca4d3
PowerPC does not have profile support yet.
2002-05-15 20:07:31 +00:00
obrien
1e1772d636
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
fanf
578642c931
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
ru
569719713e
`all-man' now creates manpages in the -DNOMANCOMPRESS case too.
2002-05-15 12:59:54 +00:00
obrien
11c66c495e
Stub out _kvm_mdopen, we don't the same constants as NetBSD
2002-05-15 09:56:40 +00:00
obrien
95ae68e994
Add a PowerPC machdep for kvm.
...
Obtained from: NetBSD (rev 1.4, pre-UVM)
2002-05-15 09:55:41 +00:00
alfred
71694f1a9c
Undo namespace pollution by prefixing the globals pthread_guard_default and
...
pthread_page_size.
Fix a bunch line wrapping.
Pointed out by: deischen
2002-05-15 05:37:48 +00:00
obrien
c6615f0631
Use .rodata section for $FreeBSD$.
2002-05-15 04:19:49 +00:00
ru
98db9953e8
I somehow managed to forgot to commit this in my INCS sweep.
...
We don't need the `beforeinstall' here, INCS handles this.
2002-05-14 11:41:23 +00:00
ru
d82aa97dc8
New cpp(1) doesn't like -I${DESTDIR}/usr/include.
2002-05-14 11:37:10 +00:00
roam
ada74c3817
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
ken
ca6188876e
string cleanup:
...
- fix a potential overrun made worse by rev 1.5 of camlib.h
- change strncpy() and strcpy() calls to strlcpy()
- use sizeof(string[]) instead of STRING_LEN to avoid future problems
- get rid of an unused variable
Thanks to BDE for pointing out some of the problems.
MFC after: 2 weeks
2002-05-14 04:32:02 +00:00
jake
a10a1944b6
Use the right byte order for unaligned stores. <blush>.
2002-05-13 22:48:01 +00:00
ru
661f00368b
Fixed CLEANFILES after bsd.lib.mk sweep.
2002-05-13 15:28:00 +00:00
phk
a38b002c0b
Add __divdi3() and __moddi3() to libstand. We will need them for UFS2.
...
Sponsored by: DARPA & NAI Labs.
2002-05-13 13:31:20 +00:00
ru
c47610e655
MAN[1-9] -> MAN.
2002-05-13 12:11:54 +00:00
ru
9f2bc31e30
NOSHARED is meaningless in the bsd.lib.mk context.
2002-05-13 12:00:45 +00:00
ru
690ae48517
SOBJS are not used here for a long time, and were just
...
pessimising the `install'.
2002-05-13 11:51:11 +00:00
ru
bc2e1305d8
Removed now unused INTERNALSTATICLIB.
...
INTERNALLIB now implies NOPIC and NOPROFILE.
Removed gratuitous NOMAN.
2002-05-13 11:09:07 +00:00