bde
cbedbdf5b1
Don't generate a2p.h or y.tab.h from a2p.y. Neither is actually used,
...
and building a2p.h clobbered the unrelated source file a2p.h if
${.OBJDIR} == ${.CURDIR}.
1998-05-05 05:25:21 +00:00
bde
f701fbc7d5
Fixed races in `make -jN' using new yacc rules.
1998-05-04 20:09:06 +00:00
dima
821e00d70f
Don't build sperl if you don't want to.
1998-03-26 06:06:22 +00:00
guido
ff3d055846
mktemp -> mkstemp as pointed out on bugtraq
...
Obtained from: Theo de Raadt
1998-03-10 19:43:27 +00:00
steve
8049881931
Build perl header files for machine/* too.
...
PR: 672
Submitted by: Jun Kuriyama <kuriyama@opt.phys.waseda.ac.jp>
1998-02-21 04:06:24 +00:00
steve
fc4ac04352
setpwent and endpwent have a return type of void, so change this
...
to work like newer versions of perl.
Reviewed by: Bruce Evans
1998-02-01 22:04:49 +00:00
joerg
7d18d9665b
Sigh, there's always one more buffer overflow. :-(
...
This one hinted to by the recently posted exploit (although not exploited by
it).
1997-09-16 08:33:52 +00:00
jmg
416e9a71f9
fix a few spelling changes
...
Submitted by: Josh Gilliam
Closes PR's: 4429, 4431-4438
PS: He has agreed to submit all contrib fixes back to the original author.
1997-08-30 12:22:49 +00:00
joerg
1fa2fafd21
Major Ooops. I've overlooked a few calls to scanident() in my last commit.
...
Submitted by: rbezuide@oskar.nanoteq.co.za (Reinier Bezuidenhout)
1997-08-27 17:18:30 +00:00
joerg
b58171d533
Fix a buffer overflow condition (that causes a security hole in suidperl).
...
Closes: CERT Advisory CA-97.17 - Vulnerability in suidperl
Obtained from: (partly) the fix in CA-97.17
1997-08-08 20:53:59 +00:00
imp
b830d50b01
Fix buffer overload that might lead to root.
1997-05-22 21:40:08 +00:00
joerg
cef9419ed3
Plug an old security hole: suidperl didn't honor MNT_NOSUID.
...
Strong 2.2 and 2.1.x candidate. Someone should review the patch before,
however.
The maintainer of the Perl5 port should probably introduce a similar patch
there.
1997-03-01 12:58:49 +00:00
peter
245ba20d12
Revert $FreeBSD$ to $Id$
1997-02-22 15:48:31 +00:00
jkh
808a36ef65
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
jkh
727acdc37b
Remove bogus redeclaration of setenv().
...
Fixes make world failure #3 for today (part of an ongoing series).
1997-01-07 06:26:19 +00:00
phk
5ba49176a1
Remove a couple of private malloc() implementations, one of which
...
was unused afterall.
1996-12-23 20:21:35 +00:00
ache
1527a41396
Disable seteuid/setegid back, I overlook one place where
...
SETEUID chacked before SETREUID
1996-12-07 00:16:04 +00:00
ache
841181010a
Enable seteuid, setegid
1996-12-06 22:59:56 +00:00
nate
2596f6cfca
Added support for '-T' and '-B' (text and binary) file recognition by
...
peeking inside of Chris Torek's stdio library internals. This is
similar to the code used for other systems, but didn't work on CT's new
implementation.
Submitted by: Gary Kline <kline@tera.com>
1996-12-03 21:56:15 +00:00
wosch
000fb64288
delete doubled words, e.g.: "the the" -> "the"
1996-10-05 22:27:30 +00:00
pst
9c17158b2b
Grab h2ph from /usr/bin, not /usr/local/bin!
1996-09-17 01:14:18 +00:00
joerg
547a10923e
Back out Nate's changes from rev. 1.6; our Perl has not been
...
vulnerable since it used setreuid() as opposed to Posix saved IDs.
The change broke setuid scripts.
1996-06-30 09:47:56 +00:00
nate
301b6a60ff
Fix for " CERT Advisory CA-96.12 - Vulnerability in suidperl"
...
Submitted by: The Perl Gods as described in the advisory
1996-06-26 19:12:25 +00:00
jkh
8eb37231d4
Bring in my changes for removing the pestilent obj links (unless you
...
really want them) from /usr/src. This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00
gpalmer
7ff6b86884
Use setreuid instead of seteuid for permissions management
1996-06-02 19:59:26 +00:00
joerg
68ce2696d4
Several changes to the gethostname module:
...
. rename the function to main'gethostname, so it can be called unqualified,
. strip the trailing \0 character, closes PR # bin/1084,
. a better way to express an insane long string.
Submitted by: Giles Lean <giles@topaz.nemeton.com.au> (except the 1st)
1996-03-18 21:42:31 +00:00
joerg
ed7c1e1183
Add a small `gethostname' package. It uses __sysctl(2), and thus
...
avoids the kludgy backquotes that are required by now (`hostname`).
Usage:
require "gethostname.pl";
$thishost = &gethostname'gethostname;
1996-02-13 13:17:49 +00:00
peter
c3f352d4ad
This commit was generated by cvs2svn to compensate for changes in r13122,
...
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
peter
ab124e78b0
recording cvs-1.6 file death
1995-12-30 19:02:48 +00:00
bde
f5284ed86d
Change install' to
${INSTALL}' so that default install flags can be
...
specified in the top level Makefiles.
1995-07-25 00:37:58 +00:00
rgrimes
2ad6f3dee6
Remove trailing whitespace.
1995-05-30 05:05:38 +00:00
ache
3c248cf0af
Add link to sperl4.036, needed for suid scripts and pgms
...
which use sperl$]
1995-05-28 19:40:18 +00:00
ache
211a7d9f9a
Make link to tperl4.036, needed for suid scripts and other stuff
...
which use tperl$]
1995-05-28 19:38:59 +00:00
ache
e4c9343d9d
Fix $] variable value (version number), close PR 449
...
Submitted by: Bill Fenner <fenner@parc.xerox.com>
1995-05-28 19:21:54 +00:00
ache
a7372e7b99
Remove setr* hacks
1995-04-27 19:56:37 +00:00
bde
41cee792f9
Fix compiler warnings: don't declare enum types as static.
1995-04-02 13:11:14 +00:00
ache
41b7559ce7
Comment out all perverted curses optimization
1995-03-26 03:01:04 +00:00
ache
0b43f4595a
Change wrong -ltermcap -ltermlib picked up to -lmytinfo
1995-03-26 02:41:45 +00:00
jkh
d4954bb252
Get PERL found in any of its obvious locations.
1995-03-25 17:14:11 +00:00
bde
f7718cd6f5
Don't attempt to fix the mode of mus - mus might be read-only. Just
...
interpret it. I've preserved the bugs that perl must be installed
to build part of perl and that it must be installed in the wrong place
(no ${DESTDIR}).
1995-03-25 15:43:57 +00:00
jkh
bbb766d1b9
If mus script not executable, fix.
1995-03-24 19:22:33 +00:00
jkh
955b0fa556
Adjust include paths.
1995-03-24 05:56:41 +00:00
jkh
7b2df764f5
Bring back perl/usub as usub/, this time containing an updated curseperl
...
which is also installed by default (the reason for which should also be
plain shortly).
1995-03-24 04:33:54 +00:00
rgrimes
dfc17a13de
Export ${DESTDIR} to h2ph so that the *.ph files end up in the DESTDIR
...
directories instead of /usr/share/perl.
1995-02-14 21:47:04 +00:00
ugen
216e2af04b
Fix to h2ph "undefined function" bug
...
i reported today earlier..tested and works OK..
( To those who want to experience bug try running aub
with old version of socket.ph and with new one or just any
perl script "requiring " <sys/socket.ph> or <sys/cdefs.ph> )
1995-02-03 15:16:03 +00:00
jkh
b55651ef61
Install suidperl suid root.
...
Submitted by: Jean-Marc Zucconi <jmz@cabri.obs-besancon.fr>
1995-01-14 03:31:27 +00:00
joerg
4573dfe5e5
I think someone has already talk about it but I just got bitten again :
...
perl setuid scripts don't work in 2.1-current for the same reason they were
not working in 1.1.5.1.
Perl 5 has the same "problem" of course.
We have almost POSIX saved uids but we must undefine the following symbols
in order to get setuid perl scripts :
Submitted by: roberto@blaise.ibp.fr (Ollivier Robert)
1995-01-09 17:52:25 +00:00
rgrimes
01cf760ecd
Add usr/share/perl/sys to mtree file, remove private mkdir from Makefile.
1995-01-03 02:57:53 +00:00
rgrimes
e8a04de225
Add missing ${DESTDIR} so that the library ends up in a release.
...
Remove mkdir -p, this is handled by make hierarchy.
Add NOOBJ= to override obj: target, and remove local obj: target.
1995-01-01 20:30:56 +00:00
bde
9fb68975b3
Fix previous commit. Installing links to manpages without installing
...
manpages is not completely trivial.
Please don't commit untested changes.
1995-01-01 17:21:09 +00:00