summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
AgeCommit message (Collapse)Author
2024-09-20gdb: fix path to exTheo Buehler
from Nir Lichtman ok pascal sthen (they okayed the ports version which I take to be an agreement with this).
2004-05-21GDB 6.1 (excluding .info files)Mark Kettenis
2024-08-18fix commentTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt
2024-08-16Cast to unsigned char after or'ing in the meta bit, so the compilerPhilip Guenther
doesn't complain when it's implicitly converted to plain char in an assignment, and to make sure it's not negative when used as an array index. ok miod@
2024-08-16Delete duplicated x{m,re}alloc() declarations and add argument typesPhilip Guenther
to a function pointer definition. ok miod@
2024-08-16Delete bogus test of array being NULLPhilip Guenther
ok miod@
2024-08-16strn?casecmp() config bits were incomplete. We have them soPhilip Guenther
just delete the bogus declarations. Also, getopt() is in <unistd.h> so pull that in during the remapping of it. ok miod@
2024-08-16Fix precedence lossage reported by clang that results inPhilip Guenther
bad buffer size. ok miod@
2000-02-09TexInfo 4.0. New manpages, can create html.Marc Espie
A bit more grumpy about bad texinfo, though.
1995-12-22Import of texinfo-3.6 from FSFNiklas Hallqvist
2024-07-13Implement investigate kernel corefile to lldb.ASOU Masato
2024-06-02add -fret-clean option (amd64 and i386 only at first), defaulting to off.Theo de Raadt
This causes the caller to cleans the return address off the stack after a callq completes. The option is best used in low-level libraries (such as libc), because libc contains low-level system call stubs. The option reduces hints (found on the stale parts of the stack) about libc.so's mapping location, and together with random-relinking, relro got/pic, and xonly makes some exploit methods more difficult. ok mortimer, mlarkin, much discussion with kettenis, in snaps for 2 weeks.
2024-05-24Remove target getting in the way of config.status and causing compilationMiod Vallat
failure when using make -j; this used to be hidden because of the objective-C generated files, which are no longer built. No change for regular make.
2024-05-17Fix possible segmentation fault in Perl 5.38.2.Alexander Bluhm
When calling POSIX::setlocale() with unknown locale category, Perl could crash due to NULL dereference. found by sthen@ in smokeping build; OK afresh1@
2024-05-14Apply pre-built unicore patch - perl-5.38.2Andrew Fresh
ok gkoehler@ Commit and we'll fix fallout bluhm@ Right away, please deraadt@
2024-05-14Apply local patches - perl-5.38.2Andrew Fresh
ok gkoehler@ Commit and we'll fix fallout bluhm@ Right away, please deraadt@
2024-05-14Fix merge issues, remove excess files - match perl-5.38.2 distAndrew Fresh
ok gkoehler@ Commit and we'll fix fallout bluhm@ Right away, please deraadt@
2024-05-14Import perl-5.38.2Andrew Fresh
ok gkoehler@ Commit and we'll fix fallout bluhm@ Right away, please deraadt@
2021-03-01Import perl-5.32.1Andrew Fresh
OK sthen@
2019-12-30Import perl-5.30.1Andrew Fresh
Timing is good deraadt@, OK sthen@
2019-02-13Import perl-5.28.1Andrew Fresh
looking good sthen@, Great! bluhm@
2013-03-25import perl 5.16.3 from CPAN - worked on by Andrew Fresh and myselfStuart Henderson
2013-03-25import perl 5.16.3 from CPAN - worked on by Andrew Fresh and myselfStuart Henderson
2010-09-24Perl 5.12.2 from CPANTodd C. Miller
2024-04-12gnu/cvs: avoid a harmless configure warningTheo Buehler
Ever since the prehistoric zlib was removed last fall, the configure script would complain because of a missing file: sed: 0: /usr/src/gnu/usr.bin/cvs/zlib/Makefile.in: No such file or directory noticed by deraadt ok bluhm
2024-04-10When rewriting an ELF header (i.e. in strip and objcopy), keep theMiod Vallat
.openbsd.syscalls section with the PT_OPENBSD_SYSCALLS phdr, even though is does not have the ALLOC flag; otherwise the phdr gets rewritten with a size of zero, which prevents the binary from working. ok kettenis@
2024-03-30Provide illop1 instruction encoding as TRAP.Miod Vallat
2024-03-29No longer build the objective-C compiler (cc1obj). Its standard libraryMiod Vallat
(libobjc) had been removed from the build years ago, there is no need to keep the compiler. ok beck@ joshua@
2024-02-08Feed more generated files to the clean target; joint work with naddy@Miod Vallat
2024-02-04Add minimal support for GNU_PROPERTYTheo de Raadt
2024-01-31Swap the r10 and rcx registers in the amd64 trapframe so that thePhilip Guenther
first six entries are in the same order as syscall arguments, such that syscall() can just use the trapframe as the argument vector for mi_syscall() and not need to reorder into another buffer on the stack. This doesn't affect coredump layout or ptrace(2), but does affect kernel crash dumps. Possibility noted during miod@'s cleanup of the MD syscall() implementations ok mlarkin@ kurt@
2024-01-15From "Lorenz (xha)" (me(at)xha.li): teach binutils how to assemblePhilip Guenther
endbr{64,32} "sure" dv@ deraadt@
2024-01-11Add basic support for R_386_GOT32XJeremie Courreges-Anglas
Repairs ld.bfd operations on i386: since the switch to llvm-16 clang emits such relocations (eg one is present in /usr/lib/crtbegin.o). This unbreaks the build of ports/lang/fpc. Help and tests from tb@, ok tb@ kettenis@
2023-12-23Update to perl 5.36.3Andrew Fresh
No changes to perl, as those were already committed for the earlier errata. This just brings documentation and such in line with upstream. ok bluhm@
2023-12-13OSF/1 placed alpha binaries above 4G. This affects our nopie binaries,Theo de Raadt
of which there is only one -- instbin, on the install media. But that is incompatible with the 32-bit offsets in openbsd.syscalls. Move the start of openbsd nopie binaries much lower. ok kettenis
2023-12-07Collect .openbsd.syscalls sections into a new PT_OPENBSD_SYSCALLS segment.Mark Kettenis
This will be used soon to pin system calls to designated call sites. ok deraadt@
2023-11-26Fix read/write past buffer endAndrew Fresh
From upstream commit: From 7047915eef37fccd93e7cd985c29fe6be54650b6 Mon Sep 17 00:00:00 2001 From: Karl Williamson <khw@cpan.org> Date: Sat, 9 Sep 2023 11:59:09 -0600 Subject: [PATCH] Fix read/write past buffer end: perl-security#140 A package name may be specified in a \p{...} regular expression construct. If unspecified, "utf8::" is assumed, which is the package all official Unicode properties are in. By specifying a different package, one can create a user-defined property with the same unqualified name as a Unicode one. Such a property is defined by a sub whose name begins with "Is" or "In", and if the sub wishes to refer to an official Unicode property, it must explicitly specify the "utf8::". S_parse_uniprop_string() is used to parse the interior of both \p{} and the user-defined sub lines. In S_parse_uniprop_string(), it parses the input "name" parameter, creating a modified copy, "lookup_name", malloc'ed with the same size as "name". The modifications are essentially to create a canonicalized version of the input, with such things as extraneous white-space stripped off. I found it convenient to strip off the package specifier "utf8::". To to so, the code simply pretends "lookup_name" begins just after the "utf8::", and adjusts various other values to compensate. However, it missed the adjustment of one required one. This is only a problem when the property name begins with "perl" and isn't "perlspace" nor "perlword". All such ones are undocumented internal properties. What happens in this case is that the input is reparsed with slightly different rules in effect as to what is legal versus illegal. The problem is that "lookup_name" no longer is pointing to its initial value, but "name" is. Thus the space allocated for filling "lookup_name" is now shorter than "name", and as this shortened "lookup_name" is filled by copying suitable portions of "name", the write can be to unallocated space. The solution is to skip the "utf8::" when reparsing "name". Then both "lookup_name" and "name" are effectively shortened by the same amount, and there is no going off the end. This commit also does white-space adjustment so that things align vertically for readability.
2023-11-17Use -mxgot to avoid GOT overflow during build on mips64.Visa Hankala
Tested by deraadt@
2023-11-16set .NOTPARALLEL for AMDGPU tblgen files to tame memory usage on i386Robert Nagy
ok deraadt@
2023-11-14Add missing .PATHJeremie Courreges-Anglas
Reported and suggested by jsing@
2023-11-12append ExtensionDependencies.inc to CLEANFILES only if .OBJDIR != .CURDIRRobert Nagy
2023-11-12TargetMCAs.def is required to be installed in the llvm include dirRobert Nagy
so instead of shipping the file internally, let's generate it and install it with the rest of the headers; unbreaks xenocara build
2023-11-11update build infrastructure for llvm-16.0.6Robert Nagy
2023-11-10remove unused liblldbPluginOperatingSystemRobert Nagy
2023-11-07comment out test that no longer makes sense, as noticed by antonMarc Espie
2010-09-24Perl 5.12.2 from CPANTodd C. Miller
2023-11-06eliminate discrepancies between termcap-generated info and infocmp resultsMarc Espie
(see user_caps(5)) also obviously protects the term name just in case someone wants to have fun with it..
2023-11-06actually, I still need to exit() if infocmp can't be runMarc Espie
2023-11-06system + exit -> execMarc Espie
as noticed by afresh1@ (this should be all for now)