Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | -version options on commands like this make no sense; the version number | 2015-10-11 | 1 | -7/+3 | |
| | | | | | makes no promises about compatibility nor the lack of compatibility. suggestion & diff from micheal reed | ||||
* | normalize a few more tame request orderings, to help review | 2015-10-10 | 1 | -2/+2 | |
| | |||||
* | pledge "stdio getpw rpath wpath cpath tmppath proc exec". doug pointed out | 2015-10-10 | 1 | -1/+4 | |
| | | | | | the need for getpw. Not sure if I see ways to improve this program. ok doug | ||||
* | Replace <sys/param.h> with <limits.h> and other less dirty headers where | 2015-01-16 | 1 | -2/+1 | |
| | | | | | | | | | 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) | ||||
* | Retire hp300, mvme68k and mvme88k ports. These ports have no users, keeping | 2014-03-18 | 1 | -3/+3 | |
| | | | | | | | 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. | ||||
* | Have sendbug(1) submit error reports to bugs@, instead of gnats@. | 2012-07-21 | 1 | -2/+2 | |
| | | | | OK deraadt@ | ||||
* | Fix some pclose() calls, spotted by Peter Philipp. ok deraadt@ | 2010-04-20 | 1 | -5/+3 | |
| | |||||
* | Include usbdevs -v output in the PR template, showing us device IDs which | 2010-04-20 | 1 | -5/+28 | |
| | | | | cannot be deduced from the dmesg output. Suggested by miod@, ok deraadt@ | ||||
* | fixes memory and FILE handle leaks. `acpidir' is allocated via | 2010-03-23 | 1 | -1/+3 | |
| | | | | | asprintf(3) and `ifp' is opened via popen(3), but not closed. from zinovik | ||||
* | initialize tmpdir before use; PR 6214 | 2009-08-26 | 1 | -3/+4 | |
| | |||||
* | Remove gecos expanding code, since the expanded string is no longer | 2009-06-07 | 1 | -38/+4 | |
| | | | | used. | ||||
* | Include pcidump and acpidump output when sendbug is run as root, | 2009-06-06 | 1 | -9/+90 | |
| | | | | | | | | | 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 | ||||
* | Re-add "Category" category to sendbug template. Without it, reports | 2009-01-28 | 1 | -10/+19 | |
| | | | | | | were categorized as "pending" and the report was never acked. Reported by RD Thrush and bernd@, OK miod | ||||
* | Remove useless fields from template, they just serve to confuse | 2008-12-14 | 1 | -51/+12 | |
| | | | | | | users. Idea okayed by art and deraadt, feedback from jmc. | ||||
* | parse all arguments before going and doing the job requested by -P | 2008-10-06 | 1 | -5/+10 | |
| | | | | | (slight change made to check argc == 0) from Daniel Dickman | ||||
* | - remove ports category after discussion w/ many | 2008-06-14 | 1 | -3/+3 | |
| | | | | | - sync architectures list with reality and fix a few names ok theo | ||||
* | replace "/usr/sbin/sendmail" with _PATH_SENDMAIL | 2008-05-08 | 1 | -2/+2 | |
| | | | | | | | | no binary change found by Daniel Dickman <didickman at gmail.com> ok ray@ | ||||
* | Decrement len variable after removing newline, prevents copying the | 2008-04-19 | 1 | -5/+7 | |
| | | | | | | | | | | 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. | ||||
* | Eliminate false positives from <> comments, avoiding mangling | 2008-01-04 | 1 | -27/+38 | |
| | | | | | | | | | | | #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. | ||||
* | In preparation of eliminating <> comment false positives: | 2008-01-03 | 1 | -23/+31 | |
| | | | | | | | | - 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@ | ||||
* | - Be more careful about pre-existing SIGCHLD handlers (or SIG_IGN) by | 2007-10-17 | 1 | -12/+9 | |
| | | | | | | | | 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 | ||||
* | Don't treat lines in angle brackets <...> as comments in dmesg. | 2007-09-18 | 1 | -7/+15 | |
| | | | | Discovered and tested by deanna. | ||||
* | Remove some unused headers, from Igor Zinovik. | 2007-07-31 | 1 | -2/+1 | |
| | |||||
* | If fork fails with EAGAIN, ignore errno and fail. Looping just | 2007-05-11 | 1 | -6/+3 | |
| | | | | | | worsens the problem. cloder@ and deraadt@ agree. | ||||
* | Instead of returning -1 and setting errno to ECHILD if the editor | 2007-05-11 | 1 | -5/+11 | |
| | | | | | | 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. | ||||
* | Be more consistent about when dmesg is attached to template. | 2007-05-09 | 1 | -7/+7 | |
| | | | | Specifically, -V. | ||||
* | Simplify some loops. | 2007-05-07 | 1 | -28/+17 | |
| | | | | OK jaredy@ and moritz@. | ||||
* | Restore signals before returning. | 2007-05-06 | 1 | -4/+10 | |
| | |||||
* | Save and restore signals once instead of each time fork fails with | 2007-05-06 | 1 | -5/+5 | |
| | | | | EAGAIN. | ||||
* | Remove extra code that only applies to setuid/setgid programs. | 2007-04-25 | 1 | -5/+3 | |
| | | | | ``Slacker! We'll burn your hands if you don't get going!'' deraadt@ | ||||
* | Sprinkle const poison, remove unneeded variable. | 2007-04-07 | 1 | -6/+5 | |
| | |||||
* | Use __progname and warn instead of fprintf where appropriate. | 2007-04-07 | 1 | -5/+6 | |
| | |||||
* | De-lint. | 2007-04-07 | 1 | -4/+5 | |
| | |||||
* | Warn if one of the required fields is not filled out. Requested | 2007-04-06 | 1 | -1/+74 | |
| | | | | by millert@. | ||||
* | Don't shadow variables. Enable -Wshadow. | 2007-04-06 | 1 | -10/+10 | |
| | |||||
* | argc does not include __progname after subtracting optind. | 2007-04-06 | 1 | -2/+2 | |
| | |||||
* | Only include newest dmesg. | 2007-04-06 | 1 | -25/+47 | |
| | | | | ``Come on, take some risks'' deraadt@. | ||||
* | Attach dmesg to sendbug reports by default. Use -D flag to disable. | 2007-04-06 | 1 | -7/+38 | |
| | | | | OK deraadt@ and millert@. | ||||
* | CC: a copy of the bug report to sender. Requested by Travers Buda. | 2007-03-28 | 1 | -2/+2 | |
| | | | | OK millert@. | ||||
* | Replace some scary pointer code. The new code is O(n^2) for strings | 2007-03-27 | 1 | -24/+29 | |
| | | | | | | | | of '&', but gecos fields are usually short and most do not have '&' so the impact should be minimal. In return we get clearer and safer code. OK moritz@. | ||||
* | Remove variable name from prototype. | 2007-03-27 | 1 | -2/+2 | |
| | |||||
* | Simplify gecos parsing code and prevent buffer overflow | 2007-03-26 | 1 | -12/+8 | |
| | | | | | | | when gecos field contains multiple '&' characters with other characters inbetween. With and OK ray@ | ||||
* | Remove pointless cast. No binary change. | 2007-03-26 | 1 | -2/+2 | |
| | |||||
* | Break on waitpid success; we shouldn't continue on WIFSIGNALED, and | 2007-03-26 | 1 | -2/+2 | |
| | | | | | | WIFCONTINUED can't happen in this case. OK deraadt@. | ||||
* | Certain errors in editit() should be fatal. | 2007-03-26 | 1 | -2/+3 | |
| | |||||
* | Don't print warnings in editit(), instead make errno reliable on | 2007-03-26 | 1 | -7/+6 | |
| | | | | | | failure. If the editor exits non-zero, errno is set to ECHILD. OK deraadt@. | ||||
* | Accept $VISUAL in addition to $EDITOR. | 2007-03-26 | 1 | -2/+5 | |
| | |||||
* | Save and restore signal handlers. Although we do not install our | 2007-03-26 | 1 | -10/+11 | |
| | | | | | | | own signal handlers, this allows this code to be more easily reused in other programs. OK deraadt@ | ||||
* | Restore errno before calling perror(). | 2007-03-26 | 1 | -1/+2 | |
| | |||||
* | Check fork() == -1 instead of fork() < 0. | 2007-03-26 | 1 | -2/+2 | |
| |