Commit graph

6033 commits

Author SHA1 Message Date
Jake Burkholder cae52cb693 These files are no longer used. 2002-05-24 04:41:02 +00:00
Daniel Eischen 5eb8d1f0b0 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 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
Dag-Erling Smørgrav f65b218085 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 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
Dag-Erling Smørgrav 2569c273c7 Hide a couple of unguarded error returns behind the no_fail test. 2002-05-23 00:02:59 +00:00
Juli Mallett 816c6c91e2 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 Wemm 42d4025c74 Make this a little easier to build standalone. (same change as libpanel) 2002-05-21 07:08:30 +00:00
Peter Wemm c8930be1de Initial update of bmake glue for ncurses-5.2-20020518 2002-05-21 05:41:07 +00:00
Peter Wemm e43996e59a Initial update of bmake glue for ncurses-5.2-20020518. More to come. 2002-05-21 05:40:28 +00:00
Benno Rice 7191eaa757 Spread the word of PowerPC. 2002-05-21 04:00:47 +00:00
Benno Rice 56c18ed0ed Let this code know about PowerPC. 2002-05-21 03:40:42 +00:00
Jake Burkholder 8a9bbbc50a Catch up to tte.h changes. 2002-05-21 02:22:49 +00:00
Ian Dowse 95431d3d42 Use an explicitly-sized type instead of daddr_t for on-disk block
numbers.
2002-05-19 10:50:38 +00:00
Ruslan Ermilov 1e46af9095 mdoc(7) police: fixed the whatis entry. 2002-05-18 15:20:28 +00:00
Poul-Henning Kamp 086b2eb54b 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
Poul-Henning Kamp 4c4bb98266 UFS indirect blocks are size u_int32_t, not daddr_t 2002-05-18 09:07:12 +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 1dba4170b1 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
David E. O'Brien 2ec6a0bc46 Do not build libmp if NOSECURE is set (NO_OPENSSL is on a subset of NOSECURE) 2002-05-15 20:22:50 +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
Ruslan Ermilov 9c6025c3db `all-man' now creates manpages in the -DNOMANCOMPRESS case too. 2002-05-15 12:59:54 +00:00
David E. O'Brien 2242258dc7 Stub out _kvm_mdopen, we don't the same constants as NetBSD 2002-05-15 09:56:40 +00:00
David E. O'Brien 3a52718aad Add a PowerPC machdep for kvm.
Obtained from:	NetBSD (rev 1.4, pre-UVM)
2002-05-15 09:55:41 +00:00
Alfred Perlstein 2b75bbdb31 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
David E. O'Brien d03f581f32 Use .rodata section for $FreeBSD$. 2002-05-15 04:19:49 +00:00
Ruslan Ermilov 69f8a52c4c 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
Ruslan Ermilov 8808984ed3 New cpp(1) doesn't like -I${DESTDIR}/usr/include. 2002-05-14 11:37:10 +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
Kenneth D. Merry 9460610494 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 Burkholder 5893472b2d Use the right byte order for unaligned stores. <blush>. 2002-05-13 22:48:01 +00:00
Ruslan Ermilov 2020063860 Fixed CLEANFILES after bsd.lib.mk sweep. 2002-05-13 15:28:00 +00:00
Poul-Henning Kamp fd3eff9c02 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
Ruslan Ermilov 1e27d2dc60 MAN[1-9] -> MAN. 2002-05-13 12:11:54 +00:00
Ruslan Ermilov ede5bec0ba NOSHARED is meaningless in the bsd.lib.mk context. 2002-05-13 12:00:45 +00:00
Ruslan Ermilov 7893b524b9 SOBJS are not used here for a long time, and were just
pessimising the `install'.
2002-05-13 11:51:11 +00:00
Ruslan Ermilov 46f8fdc34e Removed now unused INTERNALSTATICLIB.
INTERNALLIB now implies NOPIC and NOPROFILE.
Removed gratuitous NOMAN.
2002-05-13 11:09:07 +00:00
Ruslan Ermilov 2a53f3fb35 Major cleanup of bsd.lib.mk.
Get rid of the INTERNALSTATICLIB knob and just use plain INTERNALLIB.
INTERNALLIB now means to build static library only and don't install
anything.  Added a NOINSTALLLIB knob for libpam/modules.  To not
build any library at all, just do not set LIB.
2002-05-13 10:53:24 +00:00
Ruslan Ermilov 07cf219647 Removed the a.out compatibility cruft.
libgnumalloc.so.2 and libresolv.so.2 should be put under
lib/compat/compat2?/ but I don't have the 2.x releases.
2002-05-13 09:01:18 +00:00
Alfred Perlstein efe5270b1e Don't use PAGE_SIZE in userland, instead use getpagesize(), this is to
allow running on other arches when the instructions are supported but
the page size granularity is not.

Glanced at by: peter
2002-05-13 07:58:15 +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 ab4f4196a9 #include <sys/disklabel.h> to get BBSIZE. 2002-05-12 20:58:18 +00:00