summaryrefslogtreecommitdiff
path: root/usr.bin/sendbug/sendbug.c
AgeCommit message (Expand)Author
2009-08-26initialize tmpdir before use; PR 6214Theo de Raadt
2009-06-07Remove gecos expanding code, since the expanded string is no longerRay Lai
2009-06-06Include pcidump and acpidump output when sendbug is run as root,Ray Lai
2009-01-28Re-add "Category" category to sendbug template. Without it, reportsRay Lai
2008-12-14Remove useless fields from template, they just serve to confuseRay Lai
2008-10-06parse all arguments before going and doing the job requested by -PTheo de Raadt
2008-06-14- remove ports category after discussion w/ manyPeter Valchev
2008-05-08replace "/usr/sbin/sendmail" with _PATH_SENDMAILCharles Longeau
2008-04-19Decrement len variable after removing newline, prevents copying theRay Lai
2008-01-04Eliminate false positives from <> comments, avoiding manglingRay Lai
2008-01-03In preparation of eliminating <> comment false positives:Ray Lai
2007-10-17- Be more careful about pre-existing SIGCHLD handlers (or SIG_IGN) byTheo de Raadt
2007-09-18Don't treat lines in angle brackets <...> as comments in dmesg.Ray Lai
2007-07-31Remove some unused headers, from Igor Zinovik.Ray Lai
2007-05-11If fork fails with EAGAIN, ignore errno and fail. Looping justRay Lai
2007-05-11Instead of returning -1 and setting errno to ECHILD if the editorRay Lai
2007-05-09Be more consistent about when dmesg is attached to template.Ray Lai
2007-05-07Simplify some loops.Ray Lai
2007-05-06Restore signals before returning.Ray Lai
2007-05-06Save and restore signals once instead of each time fork fails withRay Lai
2007-04-25Remove extra code that only applies to setuid/setgid programs.Ray Lai
2007-04-07Sprinkle const poison, remove unneeded variable.Ray Lai
2007-04-07Use __progname and warn instead of fprintf where appropriate.Ray Lai
2007-04-07De-lint.Ray Lai
2007-04-06Warn if one of the required fields is not filled out. RequestedRay Lai
2007-04-06Don't shadow variables. Enable -Wshadow.Ray Lai
2007-04-06argc does not include __progname after subtracting optind.Ray Lai
2007-04-06Only include newest dmesg.Ray Lai
2007-04-06Attach dmesg to sendbug reports by default. Use -D flag to disable.Ray Lai
2007-03-28CC: a copy of the bug report to sender. Requested by Travers Buda.Ray Lai
2007-03-27Replace some scary pointer code. The new code is O(n^2) for stringsRay Lai
2007-03-27Remove variable name from prototype.Ray Lai
2007-03-26Simplify gecos parsing code and prevent buffer overflowMoritz Jodeit
2007-03-26Remove pointless cast. No binary change.Ray Lai
2007-03-26Break on waitpid success; we shouldn't continue on WIFSIGNALED, andRay Lai
2007-03-26Certain errors in editit() should be fatal.Ray Lai
2007-03-26Don't print warnings in editit(), instead make errno reliable onRay Lai
2007-03-26Accept $VISUAL in addition to $EDITOR.Ray Lai
2007-03-26Save and restore signal handlers. Although we do not install ourRay Lai
2007-03-26Restore errno before calling perror().Ray Lai
2007-03-26Check fork() == -1 instead of fork() < 0.Ray Lai
2007-03-26When someone hits ^C in an editor, the editor does exit(130), IRay Lai
2007-03-26more careful waitpid() discussed with ray (plus some knf)Theo de Raadt
2007-03-25fork() does not return EPROCLIM, so don't test for it.Ray Lai
2007-03-25more cleaning :)Theo de Raadt
2007-03-25Change editit() to return -1 on error and 0 on success, like manyRay Lai
2007-03-25KNF.Ray Lai
2007-03-25Save errno before calling signal().Ray Lai
2007-03-23correct signal handling and process waiting for the editor spawningTheo de Raadt
2007-03-23Since we now have our own program, we can export more things thatTheo de Raadt