/
githubmirror
/
sudo
ОбзорДокументацияВойти
/
githubmirror
/
sudo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
sudo/
src/
..
regress

Quiet compiler warnings on systems where pid_t is not an int. Historically, pid_t was a long on some 32-bit systems like Solaris.

3 года назад
Makefile.in

Make suspend_parent.c out of lib/util and into src. Nothing else uses it now.

3 года назад
apparmor.c

Fix a few whitespace issues.

4 года назад
conversation.c

No need to declare tgetpass_flags, it is already in sudo.h.

3 года назад
copy_file.c

Make sudo pass -Wmissing-prototypes

4 года назад
edit_open.c

Make struct {command,user}_details pointers const where possible.

3 года назад
env_hooks.c

Avoid a -Wshadow warning on Solaris 9.

4 года назад
exec.c

More accurate description of what happens for "sudo -b".

3 года назад
exec_common.c

Make sudo pass -Wwrite-strings

4 года назад
exec_intercept.c

Make struct {command,user}_details pointers const where possible.

3 года назад
exec_intercept.h

Make struct {command,user}_details pointers const where possible.

3 года назад
exec_iolog.c

Make iobufs private to exec_iolog.c.

3 года назад
exec_monitor.c

Simplify the exec_monitor() foreground flag.

3 года назад
exec_nopty.c

Avoid calling isatty()/ttyname() on std{in,out,err} if not a char dev.

3 года назад
exec_preload.c

fmtstr: call va_arg() for %c when computing length. Even though we don't need to read the actual char to know its length, we do need to consume it to get the correct value for the next format.

4 года назад
exec_ptrace.c

Fix a crash in intercept mode running a command with NULL argv[0].

3 года назад
exec_ptrace.h

Include elf.h, not linux/elf.h but define NT_ARM_SYSTEM_CALL if missing. Older kernel headers are missing the definition of EM_ARM in linux/elf.h. GitHub issue #232

4 года назад
exec_pty.c

Pass SUDO_TERM_OFLAG to sudo_term_raw() when sudo output is piped.

3 года назад
get_pty.c

Move ptyname to struct exec_closure

3 года назад
hooks.c

Include string.h unconditionally and only use strings.h for strn?casecmp() In the pre-POSIX days BSD had strings.h, not string.h. Now strings.h is only used for non-ANSI string functions.

6 лет назад
intercept.exp.in

Add support for intercepting the system(3) function. This also means we can log system(3) with log_subcmds.

4 года назад
intercept.pb-c.c

Stop sending an InterceptResponse to a PolicyCheckRequest for log_subcmds. There's no real reason for the command to wait for sudo send back a response that will always be a PolicyAcceptMessage.

4 года назад
intercept.proto

Stop sending an InterceptResponse to a PolicyCheckRequest for log_subcmds. There's no real reason for the command to wait for sudo send back a response that will always be a PolicyAcceptMessage.

4 года назад
limits.c

disable_coredump: only change the soft limit, leave the hard limit as-is This should avoid problems on Linux in cases where sudo does not have CAP_SYS_RESOURCE which may be the case in an unprivileged container. GitHub issue #42

3 года назад
load_plugins.c

Fix --enable-static-sudoers, broken in sudo 1.9.13. sudo_qualify_plugin() should not try to fully-qualify the path to a statically-compiled plugin. GitHub issue #245

3 года назад
net_ifs.c

Initialize the integer result parameter passed to SIOCGIFANUM. It appears that passing in a non-zero value causes the ioctl() to fail. From Tim Rice.

4 года назад
openbsd.c

We no longer need to include headers we don't use for sudo*.h files. 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.

6 лет назад
parse_args.c

Hard-code usage() and help() for an 80-column terminal.

3 года назад
preload.c

Use AIX-style shared libraries on AIX by default instead of SVR4-style. This removes the need to use the -brtl linker flag which can cause problems when there are both a .so and .a version of the same library but with different versions. This was particularly problematic when using the AIX freeware version of OpenSSL. The --with-aix-soname=svr4 option can be used to build SVR4-style shared libs instead.

4 года назад
preserve_fds.c

Include string.h unconditionally and only use strings.h for strn?casecmp() In the pre-POSIX days BSD had strings.h, not string.h. Now strings.h is only used for non-ANSI string functions.

6 лет назад
selinux.c

Avoid calling isatty()/ttyname() on std{in,out,err} if not a char dev.

3 года назад
sesh.c

Use getopt() and getopt_long() for sesh command line options.

4 года назад
signal.c

Make sure SIGCHLD is not ignored when sudo is executed. If SIGCHLD is ignored there is a race condition between when the process is executed and when the SIGCHLD handler is installed. This fixes the bug described by GitHub PR #98

5 лет назад
solaris.c

Fix some warnings from pvs-studio

6 лет назад
sudo.c

Move CONFIGURE_ARGS from sudo_usage.h.in to config.h.in.

3 года назад
sudo.h

Avoid calling isatty()/ttyname() on std{in,out,err} if not a char dev.

3 года назад
sudo_edit.c

Make struct {command,user}_details pointers const where possible.

3 года назад
sudo_edit.h

Make struct {command,user}_details pointers const where possible.

3 года назад
sudo_exec.h

Make suspend_parent.c out of lib/util and into src. Nothing else uses it now.

3 года назад
sudo_intercept.c

copy_vector: plug memory leak in error path Only the array was being freed, not the contents. GitHub issue #202.

4 года назад
sudo_intercept_common.c

Avoid a -Wshadow warning on Solaris 9.

4 года назад
sudo_noexec.c

Make sudo pass -Wmissing-prototypes

4 года назад
sudo_plugin_int.h

Avoid a -Wshadow warning on Solaris 9.

4 года назад
sudo_usage.h.in

Hard-code usage() and help() for an 80-column terminal.

3 года назад
suspend_parent.c

Make suspend_parent.c out of lib/util and into src. Nothing else uses it now.

3 года назад
tgetpass.c

Make struct {command,user}_details pointers const where possible.

3 года назад
ttyname.c

Avoid calling isatty()/ttyname() on std{in,out,err} if not a char dev.

3 года назад
utmp.c

utmp_fill: user is now always non-NULL, no need for user_details.

3 года назад
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©