]> granicus.if.org Git - sudo/history - src/ttyname.c
Add SPDX-License-Identifier to files.
[sudo] / src / ttyname.c
2019-04-29 Todd C. MillerAdd SPDX-License-Identifier to files.
2019-03-07 Todd C. MillerBetter comment about EOVERFLOW and pstat_getproc().
2019-01-20 Todd C. MillerMinor snprintf() usage tweaks:
2018-10-26 Todd C. MillerConvert PVS-Studio comment to ANSI C.
2018-10-21 Todd C. MillerAdd comments in .c files so PVS-Studio will check them.
2018-03-06 Todd C. MillerLess confusing sysctl checks for kinfo_proc.
2018-01-11 Todd C. MillerAdd tsdump, a simple utility to dump a timestamp file...
2017-12-04 Todd C. Millerupdate my email to Todd.Miller@sudo.ws
2017-06-30 Todd C. MillerUse _PATH_DEV consistently
2017-06-03 Todd C. MillerAvoid sign extension when assigning the value of tty_nr in
2017-05-31 Todd C. MillerA command name may also contain newline characters...
2017-05-30 Todd C. MillerUse /proc/self consistently on Linux. As far as I...
2017-05-30 Todd C. MillerAdd a new "devsearch" Path setting to sudo.conf for...
2017-05-29 Todd C. MillerFix for CVE-2017-1000367, parsing of /proc/pid/stat...
2017-04-12 Todd C. MillerIn sudo_ttyname_scan() if dir is the empty string,...
2016-09-08 Todd C. MillerBe consistent with the naming of the variable used...
2016-09-02 Todd C. MillerDon't disable large file support for Linux, just SVR4...
2016-01-27 Todd C. MillerAdd support for garbage collecting info passed to the...
2015-07-22 Todd C. Millerfix typo in previous commit
2015-07-21 Todd C. MillerFix errno value from get_process_ttyname() when no...
2015-07-21 Todd C. MillerOn AIX, only convert the tty device number from dev64_t...
2015-07-20 Todd C. MillerAvoid needless memory allocation when resolving the...
2015-07-02 Todd C. MillerWe require POSIX so no need to conditionally include...
2015-07-02 Todd C. MillerThere's no need to conditionalize the #include <unistd...
2015-06-23 Todd C. MillerQuiet clang analyzer false positive.
2015-06-20 Todd C. MillerOnly include stddef.h where it is needed.
2015-06-19 Todd C. MillerWe require ANSI C so stop using the obsolete STDC_HEADERS.
2015-06-19 Todd C. MillerRemove obsolete memory.h include.
2015-06-17 Todd C. MillerAvoid using exiting allocators in the front end.
2015-02-01 Todd C. MillerGo back to a 2 args debug_decl and just use the "defaul...
2015-01-14 Todd C. MillerDocument why we need sys/param.h.
2014-10-22 Todd C. MillerAdd support for multiple Debug lines per program. ...
2014-07-10 Todd C. Millerefree -> sudo_efree for consistency
2014-06-27 Todd C. MillerAdd sudo_ prefix to alloc.c functions and rename alloc...
2014-06-27 Todd C. MillerRename warning/fatal -> sudo_warn/sudo_fatal to avoid...
2014-04-22 Todd C. MillerRename emalloc2() -> emallocarray() and erealloc3(...
2014-01-13 Todd C. MillerFix strtonum() usage when parsing /proc/self/stat on...
2013-12-11 Todd C. MillerThe OpenBSD strtonum() uses very short error strings...
2013-12-10 Todd C. MillerUse strtonum() instead of atoi(), strtol() or strtoul...
2013-12-01 Todd C. MillerIgnore EOVERFLOW from pstat_getproc(). The HP-UX kerne...
2013-11-17 Todd C. MillerFix some #if vs. #ifdef and remove an extraneous semicolon.
2013-10-23 Todd C. MillerMore sign compare fixes. On Solaris id_t is signed...
2013-10-23 Todd C. MillerQuiet sign comparision warnings.
2013-05-18 Todd C. MillerClarify a comment.
2013-05-16 Todd C. MillerHandle d_type == DT_UNKNOWN when resolving the device...
2013-04-21 Todd C. MillerDon't check the tty of the parent process. Now that...
2013-04-10 Todd C. MillerAIX may have a 64-bit pr_ttydev that we need to convert...
2013-04-10 Todd C. MillerBreak out of the loop if sudo_ttyname_scan() returns...
2013-02-28 Todd C. MillerUse pstat() on HP-UX to determine the tty device.
2013-01-31 Todd C. MillerRemove ttyname() fall back code on systems where we...
2012-12-04 Todd C. MillerDon't include <sys/param.h>. We only needed it for...
2012-11-27 Todd C. MillerDefine sudo_ttyname_dev() for the HAVE_STRUCT_PSINFO_PR...
2012-10-02 Todd C. Millersudo_ttyname_dev() is unused if there is no /proc or...
2012-08-29 Todd C. MillerSilence compiler warnings.
2012-04-16 Todd C. MillerUse AC_HEADER_MAJOR to determine where major/minor...
2012-04-16 Todd C. MillerInclude sys/mkdev.h if present instead of sys/sysmacros...
2012-04-15 Todd C. MillerAdd back buf and tty variables for _ttyname() case...
2012-04-13 Todd C. Millerremove some XXX
2012-04-13 Todd C. MillerWhen looking for a device match, do a breadth-first...
2012-04-13 Todd C. MillerAdd depth-first traversal of /dev/ for the /proc case...
2012-04-11 Todd C. MillerRototill code to determine the tty. For Linux, we...
2012-04-10 Todd C. MillerDefine PRNODEV for those w/o it.
2012-04-10 Todd C. MillerCheck for SVR4-style struct psinfo.pr_ttydev and use...
2012-04-10 Todd C. MillerBetter support for SVR4-style /proc entries where we...
2012-04-10 Todd C. MillerWhen trying to determine the tty name, check parent...
2012-04-10 Todd C. MillerOpen /proc/pid/fd/[0-2] in non-blocking mode just in...
2012-03-12 Todd C. MillerSimply move the free of ki_proc outside the realloc...
2012-03-12 Todd C. MillerBring back the erealloc() for the ENOMEM loop and just...
2012-03-12 Todd C. MillerDon't try to erealloc() a potentially freed pointer...
2012-03-09 Todd C. MillerFix format string warning on Solaris with gcc 3.4.3.
2012-02-28 Todd C. MillerPrefer KERN_PROC2 over KERN_PROC. Fixes compilation...
2012-01-13 Todd C. MillerMove tty name lookup code to its own file.