Commit Graph

1859 Commits

Author SHA1 Message Date
imp
7f305e2398 Merge in the safe chdir changes from Todd Miller's mods to the OpenBSD
tree.  Also merge in fix to NetBSD PR #1495.  These represent 1.3-1.9 in
the OpenBSD tree.  Make minor KNF changes to new code (which is in the
OpenBSD as 1.10).  This avoids the symlink race problems.

These patches should go into 2.2.5 before the ship if they don't
break anything in -current.
Reviewed by:	Bruce Evans
Obtained from:	OpenBSD
1997-08-29 22:56:41 +00:00
jdp
ca6bace4ac Add a stub version of getpublickey(), in order to eliminate an
undefined symbol referenced from libc.  Without the stub, it is
impossible to execute any program using the shared library if
LD_BIND_NOW=1 is in the environment.  The stub always returns
failure, but it can be overridden outside the library when necessary.

I don't know whether this is the "correct" fix, but it is intolerable
to have any undefined symbols referenced from libc.
1997-08-28 21:50:33 +00:00
ache
154763e7ad Fix inspace handling I broke in rev 1.13 1997-08-28 08:13:21 +00:00
brian
8b40cd7eec Add full support for determining if a user
is restricted from running a given program.
1997-08-27 20:06:20 +00:00
ache
7a50669429 Use getpwnam(getlogin()) before getpwuid(getuid()) 1997-08-27 13:36:34 +00:00
phk
5a30ca0c56 Improvement of type independency for the bitmap.
This makes 64bit operation more likely.

Reviewed by:	phk
Submitted by:	jdp
1997-08-27 12:04:33 +00:00
phk
541bb01b22 Malloc option H is now default. 1997-08-27 06:40:34 +00:00
imp
30aeebf12f Don't getenv(HOME) when set[ug]od. This can lead to a buffer overflow and
elevated privs.
Obtained from: OpenBSD
1997-08-27 05:27:53 +00:00
brian
60e440ef1f Add prog.deny as a list capability for
denying execution of certain programs.
1997-08-26 23:15:57 +00:00
bde
064a439a2c -I${DESTDIR}/sys -> -I${.CURDIR}/../../sys. 1997-08-26 14:13:02 +00:00
ache
be5a6babba Temp restore of rev 1.9 1997-08-26 12:47:09 +00:00
ache
0d1089b25e Temporarily comment out issetugid() call until everyone installs libtermcap,
major number bumping will follows then
1997-08-25 16:42:22 +00:00
ache
2be4109e84 Fix saving/restoring tty modes, allow initscr be called twice,
from ncurses 4.1
1997-08-25 07:41:15 +00:00
joerg
88662ccfea Make the MD* header files C++-aware. Also, string arguments are supposed
to be of type `const char *'.

PR:		3291
Submitted by:	dima@tejblum.dnttm.rssi.ru (Dmitrij Tejblum)
1997-08-25 05:24:31 +00:00
ache
0e1b76a058 Bump minor number due to issetugid() 1997-08-24 19:19:08 +00:00
ache
d1e2bc3a0a Add winnstr family and fake resizeterm from ncurses 4.1 for compatibility
with recent applications.
Bump minor number.
1997-08-24 19:09:45 +00:00
joerg
bd623e7830 Cosmetic: distinguish in diag message between rebuilding and updating
the database.

PR:		3397
Submitted by:	taob@risc.org (Brian Tao)
1997-08-24 18:23:21 +00:00
steve
07ee29d4fd Get rid of integer overflow warning.
PR:		misc/3575
Submitted by:	Bruce Evans <bde@zeta.org.au>
1997-08-23 23:51:12 +00:00
steve
cbaed4746c Remove extra definition of vwprintw.
PR:		bin/3623
Submitted by:	Stephen J. Roznowski <sjr1@flash.net>
1997-08-23 23:23:07 +00:00
steve
1f778937bf Reference the correct version of BSD at the bottom of the
manpage.

PR:		docs/3735
1997-08-23 21:32:50 +00:00
sos
d6c4abefb5 Activate libvgl 1997-08-22 13:20:03 +00:00
ache
9211c89bda Replace uids comparison by issetugid() call 1997-08-22 11:14:53 +00:00
bde
32378e6ea8 Fixed off by 1 error. 1997-08-21 19:44:41 +00:00
bde
327a6fd768 Split beforeinstall target so that headers can be installed without
installing data files.
1997-08-21 16:14:34 +00:00
peter
16525c303e Manpage for getsid(2). 1997-08-19 07:19:43 +00:00
peter
efdef6c426 Forgot to mention what getpgid(0) does. 1997-08-19 07:04:43 +00:00
peter
17a924131e Manpage for getpgid(2), wording taken from NetBSD. 1997-08-19 07:00:53 +00:00
peter
894d286270 Syscall stubs for getpgid()/getsid(). 1997-08-19 06:23:45 +00:00
sos
d8029b51e3 First import of my little "video graphic library".
See the manpage vgl.3 for more info.

A little example will follow shortly.
1997-08-17 21:09:35 +00:00
tegge
2aeb491115 Copy code from gnu/usr.bin/gdb/gdb/kvm-fbsd.c to deal with 4 MB pages. 1997-08-17 17:42:59 +00:00
steve
4ac5c0329e Reflect reality of sticky bits and UFS-based filesystems.
PR:		docs/4198
Submitted by:	Ada T. Lim <ada@not-enough.bandwidth.org>
1997-08-17 00:19:28 +00:00
steve
56fba2167c Describe the QCMD macro and its parameters.
PR:		docs/4261
1997-08-17 00:08:40 +00:00
peter
be82b729b0 Regenerate.. 1997-08-16 07:13:47 +00:00
dg
36388a7f40 Fixed file descriptor leak that occurs after certain types of failures.
PR:		3516
Submitted by:	Matthew Flatt <mflatt@cs.rice.edu>
1997-08-15 05:21:16 +00:00
ache
3d9630f71e Explicitly point that it_value == 0 disables timer regardles of
it_interval value. It is backward-compatible with previous usage
and SunOS-compatible now.
1997-08-14 08:26:25 +00:00
ache
a90cec3859 Describe itimerfix upper limit 1997-08-14 07:57:58 +00:00
ache
1bb5ca7c1e Describe upper limit based on itimerfix restriction 1997-08-14 07:44:57 +00:00
ache
149246e91b Oops, fix logic for previous commit 1997-08-14 06:46:44 +00:00
ache
d4aaf1a238 Remove wrong machine-dependent phrase about maximum microseconds
limit. Small cleanup.
1997-08-14 06:32:25 +00:00
ache
1bded7d3ac Break loop if error != EINTR occurse or it can take forever with
time_remaining unchanged
1997-08-14 06:23:48 +00:00
ache
dd282d66ad Define NCURSES_VERSION publicly, some applications want it
Fix unctrl()
Merging from 4.1 used for this fixes.
1997-08-13 23:28:29 +00:00
steve
259c300ba2 Protect the copyright comments from reformatting by
indent and make this compile -Wall clean like the
Makefile suggests that it should. :)

Pointed out by:	Bruce Evans <bde@zeta.org.au>
1997-08-13 20:42:18 +00:00
ache
e7c02eb910 Note that default behaviour (restarting signals) is only for signal(3) 1997-08-13 18:40:57 +00:00
ache
7624eadba5 Handle syscalls error return slightly better 1997-08-13 18:22:41 +00:00
ache
f38c8bb6dd Back out itimerfix hack since nanosleep1 fixed now
Handle syscalls error return slightly better
1997-08-13 18:13:17 +00:00
ache
4d6b88f761 Add unsigned char cast to all ctype calls 1997-08-13 13:11:53 +00:00
ache
27daf21e5c Fix longstanding bug with buffer pointer goes beyoud buffer start
Cause initscr (ncurses) fail in some cases
1997-08-13 01:21:36 +00:00
ache
58caf2b733 TRACE_VIRTPUT (we don't have it yet) -> TRACE_CHARPUT 1997-08-13 00:12:46 +00:00
ache
7d911191bd Rearrange itimerfix loop doing it inside SIGALRM handling section 1997-08-12 19:54:31 +00:00
ache
ff89944c3f Solve itimerfix() problem completely by using loop in 100000000 secs chunks 1997-08-12 19:47:01 +00:00