summaryrefslogtreecommitdiff
path: root/src/solaris.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix some warnings from pvs-studioTodd C. Miller2020-08-121-2/+2
|
* Fix implicit fallthrough warning and add break to default cases.Todd C. Miller2020-06-201-0/+4
|
* We no longer need to include headers we don't use for sudo*.h files.Todd C. Miller2020-05-181-13/+2
| | | | | | Previously we needed to include headers required by the various sudo*h files. Now those files are more self-sufficient and we should only include headers needed by code in the various .c files.
* debug_decl and debug_decl_vars now require a semicolon at the end.Todd C. Miller2019-12-221-1/+1
|
* Add SPDX-License-Identifier to files.Todd C. Miller2019-04-291-0/+2
|
* Convert PVS-Studio comment to ANSI C.Todd C. Miller2018-10-261-2/+4
|
* Add comments in .c files so PVS-Studio will check them.Todd C. Miller2018-10-211-0/+3
|
* update my email to Todd.Miller@sudo.wsTodd C. Miller2017-12-031-1/+1
|
* There's no need to conditionalize the #include <unistd.h>, we requireTodd C. Miller2015-07-021-3/+1
| | | | a POSIX system.
* Only include stddef.h where it is needed.Todd C. Miller2015-06-201-1/+0
|
* We require ANSI C so stop using the obsolete STDC_HEADERS.Todd C. Miller2015-06-191-8/+2
|
* Remove obsolete memory.h include.Todd C. Miller2015-06-181-3/+0
|
* Go back to a 2 args debug_decl and just use the "default" instance,Todd C. Miller2015-02-011-2/+2
| | | | now renamed "active".
* Add support for multiple Debug lines per program. Callers mayTodd C. Miller2014-10-221-1/+1
| | | | | register arbitrary debug facilities or use built-in defaults. We now use separate Debug statements for plugins and programs.
* Rename warning/fatal -> sudo_warn/sudo_fatal to avoid namespaceTodd C. Miller2014-06-271-10/+10
| | | | pollution in libsudo_util.so.
* Use sudo_dso_load() from libsudo_util.so instead of dlopen() sinceTodd C. Miller2014-06-261-4/+4
| | | | we no longer link sudo directly with libdl.so.
* Add warning_gettext() wrapper function that changes to the user locale,Todd C. Miller2013-11-181-9/+9
| | | | | | then calls gettext(). Add U_ macro that calls warning_gettext() instead of gettext(). Rename warning2()/error2() back to warning_nodebug()/error_nodebug().
* Quiet a gcc warning and add comment about needing to keep theTodd C. Miller2012-11-271-1/+3
| | | | handle open.
* Call gettext() on parameters for warning()/warningx() instead ofTodd C. Miller2012-11-251-9/+9
| | | | having warning() do it for us.
* Add os-specific initialization functions for solaris (workaroundTodd C. Miller2012-11-111-0/+127
setuid locale problem in Solaris 11) and openbsd (set malloc_options if SUDO_DEVEL). Also move set_project() to solaris.c.