Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
Sudo Project
Provide privileged access management for the masses.
Collective -
Host: opensource -
https://opencollective.com/sudo-project
- Website: https://www.sudo.ws
- Code: https://github.com/sudo-project
Previously, the user could specify the runas user's home dir for
"sudo -i" or the user's existin...
Also adds -T option to set the value of "now".
github.com/sudo-project/sudo - 2c1a473ddc95652ae2589f8a3c18c3e2c54dc076 authored over 1 year agoThis saves instructions that are related to casting as well as compiler warnings.
github.com/sudo-project/sudo - 22079c3072d3548d44b32d805cc12329727a3c8c authored over 1 year agogithub.com/sudo-project/sudo - f2a274b061fc542eef9670d660ed2d9f21afae0a authored over 1 year ago
github.com/sudo-project/sudo - 8b640329d38e4bd5a47507c8d69e9718e113ff0f authored over 1 year ago
github.com/sudo-project/sudo - 1ba61cd13a5a726f77b35c82598b54d3af387531 authored over 1 year ago
Avoid compiler casting warnings by assigning to variables of the same type where possible
github.com/sudo-project/sudo - f437c66a2a5520e9643d8f793c8f4932cbd01ec4 authored over 1 year agoWe should be returning 0, not 1, when logservd finishes without errors
github.com/sudo-project/sudo - e0238ab210c839c42ba43d68137751dcf8bc9c82 authored over 1 year ago1 is for failure, 0 is for no failure, and this does not look like a failure.
github.com/sudo-project/sudo - 2c13d7130c656d720f7fb0041e82fca7f0908d4c authored over 1 year agoThis saves instructions that are related to casting as well as compiler warnings.
github.com/sudo-project/sudo - e54ba33ea07522261c893bfe9faef1288f8d78b6 authored over 1 year ago
macOS does not support direct access to the environ pointer from a
shared object. We need to re...
Previously, check_user_runcwd() would return true if the runcwd
matched the user's cwd, even if ...
Set command_info to NULL once it is freed
github.com/sudo-project/sudo - a2a87323eb4ba046f522f2c0c19acadee3aa2fa2 authored over 1 year agoThe lack of setting to NULL is a holdover from when command_info was a local variable and not a ...
github.com/sudo-project/sudo - 0bb41ed82a5849b0c64d7046662825d84e983e4d authored over 1 year agoModify the is_script function for match_command.c
github.com/sudo-project/sudo - 676066e2aad180923be9e434ecf8631e5969f5d0 authored over 1 year agogithub.com/sudo-project/sudo - f8a45e8a54ab410a0eb8d98eed966077ec946f75 authored over 1 year ago
github.com/sudo-project/sudo - 7fb98a9a335a5b7c6b70221a2e39c824e0f26874 authored over 1 year ago
Based on GitHub PR #273 from Ilya Kulakov.
github.com/sudo-project/sudo - e0ee845dfcd92b864a649a9b750e86cc1e7e9e24 authored over 1 year agogithub.com/sudo-project/sudo - 733d5291b4ed2af74f6874f48e0e389951147d22 authored over 1 year ago
Do variable length arrays the C99 way
github.com/sudo-project/sudo - 3bdd2214add885a7ae0d66f805eb4ee074d6bf1a authored over 1 year agocorrect the return value type of function alias_find_used
github.com/sudo-project/sudo - 69b486d462b67e5811ebaac61eb760da0d243ef6 authored over 1 year agogithub.com/sudo-project/sudo - 5d2b1761f63e3787c6f956249e0bd7c075924e63 authored over 1 year ago
github.com/sudo-project/sudo - afb09e0044109a4c5f3ed30d7905b90527bb340d authored over 1 year ago
github.com/sudo-project/sudo - 4da1f373de676a2cd6b84c5e61f5f63351edb90c authored over 1 year ago
Variable length arrays are supported by C99, but having it denoted as "1" confused the compiler ...
github.com/sudo-project/sudo - 7fd680c983f8be61b11ecc438bcdb40afb0eb905 authored over 1 year agogithub.com/sudo-project/sudo - 64b666471a9010ad1f52533bac1e51db1d4d1882 authored over 1 year ago
github.com/sudo-project/sudo - dc49e11fa582f927967d81b19210856d62d43322 authored over 1 year ago
github.com/sudo-project/sudo - c5c589da0426a98d529752b6782a9dfc14382d7d authored over 1 year ago
github.com/sudo-project/sudo - 4f9185f4c559df7167c7622d2b60b3f53fb19de5 authored over 1 year ago
github.com/sudo-project/sudo - baf482763ce0960983139aa2e771c8cdea60647d authored over 1 year ago
"sudo -g" from matching when a Runas_Alias was used in the user or
group portion of a Runas_Spec.
This makes it possible to call the appropriate runas user or group
list match function when reso...
Now that we are guaranteed to have a runas user list for all sudoers
rules that contain a runas ...
When a sudoers rule permits the user to run commands as a group,
not a user, we should set the r...
If a sudoers rule has no runas list, a user-specified runas group
should only be allowed if it m...
We need to undef the SIZEOF_TIME_T from pyconfig.h so it does not
conflict with our own.
Avoid use of variable length arrays and add ctype(3) casts.
github.com/sudo-project/sudo - ac46157e9457145cd67716a06245d5c9391ca087 authored over 1 year agogithub.com/sudo-project/sudo - 8fbdd414ce515b3c032f9413257fb061f69d9260 authored over 1 year ago
Add %n$s support for sudo_lbuf_append_v1
github.com/sudo-project/sudo - ee4f210f32055832cc802244c9eeef4c16020697 authored over 1 year agogithub.com/sudo-project/sudo - 932339ed9f4cc015e66cf3f2460f00471acb327a authored over 1 year ago
github.com/sudo-project/sudo - b4dcac650fb5084e97401ec5d10bee40550ba865 authored over 1 year ago
github.com/sudo-project/sudo - 5baf817dbc9ab2c98d2d102062470dc2f6c5c8e7 authored over 1 year ago
github.com/sudo-project/sudo - 2c58d807511c9b22f83dbad0fb3a24f258bf9d19 authored over 1 year ago
github.com/sudo-project/sudo - 2077b5157460e8f5e261b39cc7dbac2d037c0ad4 authored over 1 year ago
This can be used to support netgroup queries on systems that lack
the innetgr() function and wher...
This allows us to use the LDAP-specific version of innetgr() when
possible. Also enable "use_net...
github.com/sudo-project/sudo - 245c56bac1edc228983f0c4b9077de4328dde9c3 authored over 1 year ago
github.com/sudo-project/sudo - c7070b0475abd4e5a1bc7a3c565af92e4666c915 authored over 1 year ago
It unnecessarily complicates things to work around bugs in an OS
almost no one runs.
Nothing else uses it now.
github.com/sudo-project/sudo - 95cd40907989ae706001fb9e29de7cc79dfdae23 authored over 1 year agoThis makes the digest type consistently unsigned instead of a mix
of signed (for the -1 value in ...
github.com/sudo-project/sudo - d633d82f228a0ff0fdcaae0daf0c30276c520223 authored over 1 year ago
github.com/sudo-project/sudo - 0986a8846e5c11d332d44fdf63e2b35c05ebf817 authored over 1 year ago
I reported this bug to Apple over 12 years ago.
github.com/sudo-project/sudo - 4d417b46d9f9028c5050a55a62637ea61e807158 authored over 1 year ago
The command is now always run in its own process group. If visudo
is run in the foreground, the...
Since visudo doesn't alter the terminal settings it is possible for
the terminal to have the ONL...
github.com/sudo-project/sudo - 91f100f5bc37949faf146a3cd56edfbb15b2d80e authored over 1 year ago
github.com/sudo-project/sudo - f352ef5d67995b1dcdb15d32c168fd4e7ceacbdc authored over 1 year ago
github.com/sudo-project/sudo - 01ff7c476de43c345ab081bdb4b4d387b7c3ee36 authored over 1 year ago
github.com/sudo-project/sudo - bde363e060417cdee37f4cd6afae3bf0ec0f7a70 authored over 1 year ago
That way we can avoid passing it to init_parser() directly.
We still need sudoers_search_path to...
This struct contains parser configuration such as the sudoers file
uid/gid/mode and parse flags ...
Coverity CID 314108
github.com/sudo-project/sudo - fb9d0d79a7eb11dfe37073365efa780a4e950b0c authored over 1 year agogithub.com/sudo-project/sudo - f722272b7cbe0a0b4b509352922f54e2b9dde762 authored over 1 year ago
Return an error, setting errno to EINVAL, for negative sizes.
github.com/sudo-project/sudo - 2f4b4068097ee26b9a46f2d24a6782db65c74494 authored over 1 year agoAdd getter for policy.c.
github.com/sudo-project/sudo - c0fa3a4d24ca2329c9c2454aa32a78a99fd46ac6 authored over 1 year agoAdd getter (for set_perms.c) and setter (for sudoers.c).
github.com/sudo-project/sudo - 72489d7a83e6d3d55c22d1c9cb30529e6efd5d36 authored over 1 year agoAdd a setter for policy.c to handle auth_type from the front-end.
github.com/sudo-project/sudo - d5de5890f5134affd25702d4fe4d8eeb857e7bf2 authored over 1 year agogithub.com/sudo-project/sudo - cda03ed13fc7a8a8c040282420c726f41ef29816 authored over 1 year ago
github.com/sudo-project/sudo - 27ea64bacd5aebfd2c8f4f58f2161475b766cf4a authored over 1 year ago
Prefer size_t over int, as casting can take extra instructions
github.com/sudo-project/sudo - 16191bb3d1b4e488f96f05345a17b35907c40dfe authored over 1 year agogithub.com/sudo-project/sudo - 459a49b1fe1ccd02e61ca0d793fcbe2f8872593b authored over 1 year ago
There was only one consumer of the init_parser() wrapper now that
reset_parser() has been introd...
github.com/sudo-project/sudo - f258a15df5e027f2d4f1d1081a81d0a57e5f6934 authored over 1 year ago
Add getters for both so the ldap code can access them.
github.com/sudo-project/sudo - 80768ed3a892ecd2cfdc5900ba7d5f7d763ef359 authored over 1 year ago
We just need a way for the policy (and visudo) to override the
default sudoers path. This adds ...
github.com/sudo-project/sudo - 5446b009e3291c09d90b78c271152a8382706cfc authored over 1 year ago
When adminconfdir is enabled, the destination pathh may be different
from the path we opened. W...
Configuration paths in sudo are now a colon-separated list of files
with the adminconfdir instanc...
This means that _PATH_SUDO_CONF, _PATH_SUDOERS, _PATH_SUDO_LOGSRVD_CONF,
and _PATH_CVTSUDOERS_CON...
The first file found is used.
github.com/sudo-project/sudo - f17b35471f8c744772ffc3e997767a8baf3ec2e0 authored over 1 year agogithub.com/sudo-project/sudo - a7e906ff6604b2565a99e60c629698352dbd80de authored over 1 year ago
Now that getaddrinfo() is stubbed out while fuzzing we can remove
the hack that set AI_NUMERICSERV.
github.com/sudo-project/sudo - d1f2452c08a052592fa0f43cc91f77ec777b71b0 authored almost 2 years ago
Also add support for parsing servname. We only need to support a
subset of getaddrinfo() functio...
Implementations of _FORTIFY_SOURCE require the header file to be
included. Also remove the usele...
The ldap_init() function is marked as deprecated and not defined
by default on some systems. Thi...
github.com/sudo-project/sudo - 47ae92d0341a61eb9676f5e778632055c682ce39 authored almost 2 years ago
github.com/sudo-project/sudo - 3d4dc19ecd4ebe90bec2a00facc14d7912a8dd70 authored almost 2 years ago
We may not be able have access to DNS in the fuzzing environment.
github.com/sudo-project/sudo - 64f6d6fdbced3c5e2edbc53d1c38a5f50b15afa4 authored almost 2 years agogithub.com/sudo-project/sudo - 8c85fefaee0b43cba2d22be942f88f051eba9a9f authored almost 2 years ago
This should avoid problems on Linux in cases where sudo does not
have CAP_SYS_RESOURCE which may ...
github.com/sudo-project/sudo - e2243e3737a24e9957317dbfafb4db2c41b29801 authored almost 2 years ago
github.com/sudo-project/sudo - 6c3c8acbac93a711111a44785f47093354633984 authored almost 2 years ago
When a command is run via "sudo -b" it has no access to terminal
input. In non-pty mode, the co...
The user controls these fds so we should avoid calling ioctl(2) on
them unless they correspond t...
Trying to tailor the help and usage output to the terminal width
is simply not worth it and coul...
github.com/sudo-project/sudo - 65c0b5a089e3b019bb1e118a28630efaa6f08062 authored almost 2 years ago
We still want to initialize rows and cols based on the environment
if possible.
While usage() prints to stderr, help() prints to stdout.
github.com/sudo-project/sudo - 4ac9941794fdc30d94c03bb84fdff1d771cafc85 authored almost 2 years ago