summaryrefslogtreecommitdiff
path: root/usr.bin/sendbug
AgeCommit message (Collapse)Author
2022-04-10Add more missing archs to "categories": aarch64, mips64el and powerpc64Jeremie Courreges-Anglas
The categories listing is long and maybe adding archs in there isn't very relevant (any more?).
2022-03-29Update list ofarchitecturesJeremie Courreges-Anglas
Retire sparc (32 bits) and vax, add riscv64. From Raf Czlonka
2022-02-18prefer https links in man pagesJonathan Gray
ok gnezdo@ miod@ jmc@
2017-08-21Use waitpid()/EINTR idiom for the specific pid, rather than generic wait(),Theo de Raadt
in case the parent process was started with a dangling child. This style ensures any potential parent:child interlock isn't disrupted due to the "wrong" child being waited on first. Then the other other childs can safely zombie. ok millert jca brynet
2016-10-18Use the files in /var/db/acpi instead of trying to run acpidump.Mark Kettenis
ok brynet@
2016-07-13ross l richardson reports that an auto reply is no longer generatedJason McIntyre
on submission, so remove that sentence (correct me if this is wrong); while here replace some mandoc chars;
2016-05-18Also print a warning if the user doesn't fill the mail SubjectJeremie Courreges-Anglas
Alternative diff by Tim (trondd ! kagu-tsuchi . com), ok tedu@
2016-05-18Print a user-friendly message if some fields are missing; ok tedu@Jeremie Courreges-Anglas
2016-03-17Last parameter to execl[e]() functions *must* be cast to a pointer.Kenneth R Westerback
Just NULL is not good practise as NULL is theoretically allowed to be an integer rather than a pointer. Use (char *)NULL consistently instead of scattering a few (char *)0 and (void *)NULL into the mix. Prompted by and probably ok deraadt@ millert@ kettenis@ Definitely ok mestre@ ratchov@
2016-02-18TMPDIR is no longer supported;Jason McIntyre
from rafael neves
2015-10-26remove TMPDIR supportTheo de Raadt
2015-10-11-version options on commands like this make no sense; the version numberTheo de Raadt
makes no promises about compatibility nor the lack of compatibility. suggestion & diff from micheal reed
2015-10-10normalize a few more tame request orderings, to help reviewTheo de Raadt
2015-10-10pledge "stdio getpw rpath wpath cpath tmppath proc exec". doug pointed outTheo de Raadt
the need for getpw. Not sure if I see ways to improve this program. ok doug
2015-09-09The .Nd macro is intended to provide "a one line description", so avoidIngo Schwarze
multiple lines of input, in particular, don't use macros below .Nd; such bad style can confuse various apropos(1) tools. All deleted macros reappear later in the text, anyway, except for .Tn, which i'm deleting outright. Found while scanning the tree for good and bad practices in preparation for my EuroBSD2015 mdoc(7) tutorial on Oct 1 in Stockholm.
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
2014-03-23Point people to the bugs@ archives on marc.info.Brian Callahan
ok tedu@
2014-03-18Retire hp300, mvme68k and mvme88k ports. These ports have no users, keepingMiod Vallat
this hardware alive is becoming increasingly difficult, and I should heed the message sent by the three disks which have died on me over the last few days. Noone sane will mourn these ports anyway. So long, and thanks for the fish.
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@Ingo Schwarze
2013-07-07point folks to the mailing list archive to follow bug reports,Jason McIntyre
now that there is no "online bug tracking system"; from Alexis de BRUYN
2012-12-04remove some unnecessary sys/param.h inclusionsTheo de Raadt
2012-08-12Use .Lk for HTTP hyperlinks, not .Pa.Ingo Schwarze
Most of the patch from Arto Jonsson <ajonsson at kapsi dot fi>. jmc@ agrees in principle that .Lk is the right macro to use. While here, update a few broken links, and add missing markup at a few places.
2012-07-21Have sendbug(1) submit error reports to bugs@, instead of gnats@.Peter Hessler
OK deraadt@
2010-04-20Fix some pclose() calls, spotted by Peter Philipp. ok deraadt@Stuart Henderson
2010-04-20Include usbdevs -v output in the PR template, showing us device IDs whichStuart Henderson
cannot be deduced from the dmesg output. Suggested by miod@, ok deraadt@
2010-03-23fixes memory and FILE handle leaks. `acpidir' is allocated viaTheo de Raadt
asprintf(3) and `ifp' is opened via popen(3), but not closed. from zinovik
2009-08-26initialize tmpdir before use; PR 6214Theo de Raadt
2009-06-10no real need for these in SEE ALSO; ok rayJason McIntyre
while here, tweak -D
2009-06-07Remove gecos expanding code, since the expanded string is no longerRay Lai
used.
2009-06-06Include pcidump and acpidump output when sendbug is run as root,Ray Lai
to aid ACPI development. Output files are base64 encoded in the report. Add a -E flag to decode files from a report to the current directory. Requested by deraadt, "Sweet!" marco, "Looks good to me." pirofti
2009-01-28Re-add "Category" category to sendbug template. Without it, reportsRay Lai
were categorized as "pending" and the report was never acked. Reported by RD Thrush and bernd@, OK miod
2008-12-14Remove useless fields from template, they just serve to confuseRay Lai
users. Idea okayed by art and deraadt, feedback from jmc.
2008-10-06parse all arguments before going and doing the job requested by -PTheo de Raadt
(slight change made to check argc == 0) from Daniel Dickman
2008-06-14- remove ports category after discussion w/ manyPeter Valchev
- sync architectures list with reality and fix a few names ok theo
2008-05-08replace "/usr/sbin/sendmail" with _PATH_SENDMAILCharles Longeau
no binary change found by Daniel Dickman <didickman at gmail.com> ok ray@
2008-04-19Decrement len variable after removing newline, prevents copying theRay Lai
NUL at the end of a string into the mail. Discovered by dasn. Move newline printing into outer loop, prevents multiple newlines from appearing if there are multiple comments in a line. Discovered by okan. OK okan.
2008-01-04Eliminate false positives from <> comments, avoiding manglingRay Lai
#include <bleh.h> in diffs: - Only match <> comments from the template. No other text surrounded by angle brackets is deleted. - Simplify code by using C strings. We no longer handle binary data, but I don't think binary data belongs in a bug report anyway. - Remove dmesg and header comment checks. "That's a nice approach." deraadt, "seems ok for me" chl.
2008-01-03In preparation of eliminating <> comment false positives:Ray Lai
- Move <> comments in template to an array, for easier reference later. - Rename "comment" variable to avoid shadowing. - Change some <> comments to SENDBUG comments. OK chl@
2007-10-17- Be more careful about pre-existing SIGCHLD handlers (or SIG_IGN) byTheo de Raadt
temporarily restoring default behaviour. This is not 100% ideal. But this fixes editor handling in mail... bah, it is really unfortunate that got broken - refactor the restoration code as well, to make it simpler ok ray
2007-09-18Don't treat lines in angle brackets <...> as comments in dmesg.Ray Lai
Discovered and tested by deanna.
2007-09-07Synced atomicio implementation in nc and sendbug with ssh.Tobias Stoeckmann
OK djm@, joris@, ray@
2007-07-31Remove some unused headers, from Igor Zinovik.Ray Lai
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-11If fork fails with EAGAIN, ignore errno and fail. Looping justRay Lai
worsens the problem. cloder@ and deraadt@ agree.
2007-05-11Instead of returning -1 and setting errno to ECHILD if the editorRay Lai
has a non-zero exit status, just return the exit status on success. Hard errors still return -1. If the editor is killed, return -1 and set EINTR.
2007-05-09Be more consistent about when dmesg is attached to template.Ray Lai
Specifically, -V.
2007-05-07Simplify some loops.Ray Lai
OK jaredy@ and moritz@.
2007-05-06Restore signals before returning.Ray Lai
2007-05-06Save and restore signals once instead of each time fork fails withRay Lai
EAGAIN.
2007-04-25Remove extra code that only applies to setuid/setgid programs.Ray Lai
``Slacker! We'll burn your hands if you don't get going!'' deraadt@