summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Include `enigma' into the list of usr.bin programs.joerg1998-11-021-1/+2
|
* Fix errors detected by -Wformat.jdp1998-11-013-6/+7
|
* Link objformat statically by default. This makes it possible tojdp1998-11-011-0/+1
| | | | | | | | | | build 2.2-stable worlds on 3.0-current systems again. objformat calls getobjformat(), which doesn't exist in 2.2's libc. Technically there should have been a version number bump when it was added in -current. But it's used in so few places that it hardly seems worth that. Besides, the objformat program is very heavily used during a make world; it won't hurt to have it load a little faster.
* Fix some of the more blatant bugs in the original code, provide ajoerg1998-10-303-33/+156
| | | | | | | | | | | BSD-able Makefile, add a man page (that also puts a bold warning about the weakness of the encryption), and implement the -k option for compatibility with other vendor's implementations. (Unlike those other vendors, we actually also document this option and its problems.) There are more violations of style(9) in it, like the not-use of getopt(3), but it's not worth the while fixing all of this.
* This commit was generated by cvs2svn to compensate for changes in r40767,joerg1998-10-302-0/+182
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * This is enigma, aka. crypt(1). It has suppsedly been taken fromjoerg1998-10-302-0/+182
| | | | | | | | Cryptbreakers Workbench. While arguably a rather weak encryption, it's in some use in the Internet still, and provided by a bunch of other Unix systesms, so we include it here for compatibility. Silently agreed by: core
* Rename a function name so that it doesn't conflict with a future system call.dg1998-10-303-6/+6
|
* Back out previous work-around for "vmstat -i" failing on ELFjdp1998-10-281-1/+1
| | | | | kernels. A better fix is now committed to "src/lib/libc/gen/nlist.c" and "src/usr.sbin/kvm_mkdb/nlist.c".
* If we know the content-length, only read that number of bytes fromfenner1998-10-261-2/+13
| | | | | the server. There exists a broken server which sends a few extra garbage bytes in response to HTTP/1.1 requests.
* Add manpage for objformat. This needs major word smithing.obrien1998-10-252-1/+94
|
* Backout out previous commit. The bug was in the kernel.bde1998-10-251-2/+9
|
* Work around some variables having N_UNDF types but valid values; thismsmith1998-10-241-2/+2
| | | | | makes vmstat work on ELF kernels again. Submitted by: Daniel Rock <rock@cs.uni-sb.de>
* Use sysctlbyname() to locate the vfs.nfs.nfsstats node.msmith1998-10-241-9/+2
| | | | Submitted by: Daniel Rock <rock@cs.uni-sb.de>
* When invoked as "objformat" to print out the current object format,jdp1998-10-241-0/+4
| | | | | produce an error message if any arguments are given on the command line.
* Fixed gratuitous unformatting in rev.1.8.bde1998-10-221-1/+2
|
* Removed all `vector xxxintr' specifications. Interrupt handlers are nowbde1998-10-221-1/+1
| | | | configured in drivers.
* oops, forgot to add his birthdaytorstenb1998-10-221-1/+2
|
* Add Jon Postel's birth/deathtorstenb1998-10-221-2/+2
| | | | PR: 8402
* Added Microsoft's PE formatted executables for mips, i386 and Alpha.imp1998-10-221-1/+33
| | | | | | | Also added entry for the debugger files as well. The PE format is used for all Win32 platforms (Win95, Win98, WinNT and WinCE), so it is nice to be able to tell what kind of thing the foo.dll.... Don't have any data for powerpc formats, however...
* When the "-s" option is given, try to ensure that we restart thejdp1998-10-222-24/+64
| | | | target process even if we are killed or die due to an error.
* Remove most of the code and replace it with a call to getobjformat().jdp1998-10-212-116/+14
|
* Fixed previous commit to actually work. The wrong variable was initializedbde1998-10-211-3/+4
| | | | | earlier (with style bugs of course), so zcat was an alias for uncompress instead of `uncompress -c'.
* Behave like zcat if invoked as zcat. We don't install as zcat; this justmsmith1998-10-201-2/+5
| | | | | | makes us more useful in a tight environment. Submitted by: Wilfredo Sanchez <wsanchez@apple.com>
* Make gcore work for ELF.jdp1998-10-195-99/+625
|
* PR: 7583thepish1998-10-181-4/+4
| | | | | Submitted by: Dave Glowacki <dglo@SSEC.WISC.EDU> Support input via stdin if no input file name specified explicitly
* Only process the ``PWD'' environmental var if built with "WANT_ENV_PWD"obrien1998-10-182-5/+14
| | | | | defined. Bash v2 sets PWD and it creates major problems for those of us with /usr/src being a symlink. See the lists for examples of the problems.
* Fixed printf format errors. Assume that uid_t's are representable asbde1998-10-171-2/+2
| | | | unsigned longs.
* Fixed printf format errors. Assume that time_t's are representable asbde1998-10-171-2/+2
| | | | longs.
* Generate code to interpret ioctl numbers for all ioctls defined inbde1998-10-161-12/+50
| | | | | | | | | | | | | headers under /usr/include, not just for the ones in <sys/ioctl.h>. The generated file includes all headers that seem to define ioctls, so build errors will probably occur if headers become less self- sufficient than they are already. This is a feature. Build errors shall not be fixed by adding more includes here. Optionally generate a case statement instead of a list of if statements. This source must be edited to change this. The case statement should be non-optional. It currently can't be, because many ioctl numbers are not unique.
* Fix make world breakage from last commit.jdp1998-10-151-2/+2
|
* atq ignored locale info when printing dates. Is the other call tomckay1998-10-151-1/+5
| | | | | | setlocale() just in the wrong place? PR: 8300
* Fix a serious bug in make(1)'s handling of archive libraries.jkoshy1998-10-151-2/+2
| | | | | | | | | | | | | | This case did not need to be tested when RANLIBMAG was defined (as when in an `aout' environment) because Arch_StatMember() treated the two cases of the library not being present and a member of the library not being present the same way, forcing a rebuild of the library. Since in the ELF environment we don't look inside archive libraries we now need to check if the archive library is present in order to determine its `out-of-date'-ness. (I hope I've been able to meet the Oct 15th freeze). Reported-by: Steve Price (and a few others whom I've forgotten, sorry)
* Fix formatting bug.jkoshy1998-10-151-1/+3
| | | | | PR: 8320 Submitted by: Amakawa Shuhei <amakawa@sf.t.u-tokyo.ac.jp>
* Add lstat() as a known system call.sef1998-10-151-1/+3
|
* Add objformat links for gdb and (while we're at it) c++filt.peter1998-10-151-0/+2
| | | | | This means we can (assuming an a.out gdb is present) debug a.out kernels and crashdumps with gdb -aout.
* Check the executable's header to make sure it is a valid executable.jdp1998-10-142-2/+18
| | | | | | | If it is ELF, print a diagnostic saying that it is not supported yet by this program. This is a stop-gap anti-bug-report measure because it looks like there won't be time to implement gcore's ELF support before 3.0 is released.
* Fixed 7 style bugs. The contents of such a simple Makefile is entirelybde1998-10-141-6/+2
| | | | | determined by style rules, the program name and the existence of the man page.
* +gensetdefspeter1998-10-141-1/+2
|
* gensetdefs is a standalone version of the tool that we use to wrap apeter1998-10-142-0/+378
| | | | | | | | struct linker_set around the contents of ELF linker sets. This tool also generates setdef0.c and setdef1.c for the alpha and i386 rather than having these duplicated all over the tree too. This is required for building KLD modules.
* One vfork() changed to fork(); one execl() changed to execv(). Thedes1998-10-132-4/+8
| | | | | latter isn't actually called as far as I can see since FreeBSD uses termcap and not terminfo.
* Missed one in the previous commit.des1998-10-131-3/+3
|
* Calls one or more of malloc(), warn(), err(), syslog(), execlp() ordes1998-10-139-23/+19
| | | | | | | | | | | execvp() in the child branch of a vfork(). Changed to use fork() instead. Some of these (mv, find, apply, xargs) might benefit greatly from being rewritten to use vfork() properly. PR: Loosely related to bin/8252 Approved by: jkh and bde
* Fix typos.jkoshy1998-10-131-5/+5
| | | | | PR: 8216 Submitted by: Kaneda Hiloshi <vanitas@ma3.seikyou.ne.jp>
* vfork -> fork. The child calls abort(), which calls stdio.bde1998-10-101-1/+1
|
* vfork -> fork. This home made popen() had the same bug as the librarybde1998-10-101-1/+1
| | | | | | | popen(), but worse. The child calls execvp(), which calls malloc() a bit more than execl(), and it calls non-library functions that call malloc() and who-knows-what else (stdio is called in at least some error cases).
* Fixed gross breakage in previous commit. The malloc sizes for thebde1998-10-101-12/+13
| | | | | | | | | | | temporary file names were uninitialized if TMPDIR was set and 1 too small otherwise. Fixed style bugs in previous commit. Fixed missing checks for malloc failure in previous commit. Report malloc failure consistently, at least in temp.c.
* Removed debugging cruft.bde1998-10-101-1/+0
| | | | Broken in: previous commit
* Don't build or install ${MAN1}. It's just a copy of ${MAN1aout} andbde1998-10-102-6/+6
| | | | | | | installing it clobbers the elf ${MAN1}. The MAN1 -> MAN1aout changes actually work now. Fixed order of MAN* and BINDIR.
* PR: bin/8250thepish1998-10-107-14/+24
| | | | protect against buffer overruns in mail temporary files.
* Add JKH's auth.conf parser to turn on/off Kerberos in userlandmarkm1998-10-092-2/+13
|
OpenPOWER on IntegriCloud