Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/sudo-project/sudo
Utility to execute a command as another user
https://github.com/sudo-project/sudo
2254. Fixes netgroup queries on AIX. From Steven Soulen.
ea34d01010371fd49505b6ccef836064ee5692d2 authored over 9 years ago by Todd C. Miller <[email protected]>so we can call globfree() even on error. From Frank Denis.
f43f53098732de5f4667e01aec37dfa9cc551b61 authored over 9 years ago by Todd C. Miller <[email protected]>end since set_perms() and restore_perms change the read uid and may
fail with EAGAIN on Linux ker...
db8aae12e8ef6e84eb9f1ed97834c12b2a737006 authored over 9 years ago by Todd C. Miller <[email protected]>
plugin.so can not be found. This was a temporary hack for using
an older (pre 1.8.7) sudoers plu...
Add missing checks in event_select.c for reallocarray() failure.
c0fa0e248d658d2ac0f331abff530b0e41aa4ffb authored over 9 years ago by Todd C. Miller <[email protected]>564eb7e7dd8422f1acf1ceeb6bf8a72a30b498a3 authored over 9 years ago by Todd C. Miller <[email protected]>
allocation errors.
8eff57f070ba65da894dee5bd5807323c0bca1a4 authored over 9 years ago by Todd C. Miller <[email protected]>like BSD and Solaris do. This appears to be the direction glibc
is going as well.
7a1cf7f53942d880764ff9bae5f3b5048717fb3d authored over 9 years ago by Todd C. Miller <[email protected]>
1100d91e8f72f265748d7deb09f8998e6bf92867 authored over 9 years ago by Todd C. Miller <[email protected]>
dee7a6ddaff9f4279105394a11f023fb5f9efb35 authored over 9 years ago by Todd C. Miller <[email protected]>
sudoers file zero length.
21f5753b7daf348d8ef4b57c208fd8c6e7cf996c authored over 9 years ago by Todd C. Miller <[email protected]>the user may not run the command. We don't try to return early for
log_failure(), log_auth_failu...
4da9e10971d291901c72c5755c6c4f99a828eaf7 authored over 9 years ago by Todd C. Miller <[email protected]>
6b7be032affb87ce1b6f47a1455380f73861a247 authored over 9 years ago by Todd C. Miller <[email protected]>
40d72f26e44ba72e6b795e414a3a8bee3f11f9f1 authored over 9 years ago by Todd C. Miller <[email protected]>
Also switch to non-exiting allocators in affected code blocks.
2bf454b74dc59e48c76f8d39c5fb2db4fc8605b8 authored over 9 years ago by Todd C. Miller <[email protected]>46770c9588b8a067572d25c5b2bb062354ec0752 authored over 9 years ago by Todd C. Miller <[email protected]>
c5e4c3055abf5d4460df5cb688299fdd1ecebe42 authored over 9 years ago by Todd C. Miller <[email protected]>
Also use non-exiting allocators for consistency.
4131449ffb8b1bb4423c52caaad4be2a8934a221 authored over 9 years ago by Todd C. Miller <[email protected]>8c3fd195d26c128e1ac49850549785fa30469d01 authored over 9 years ago by Todd C. Miller <[email protected]>
operates on non-C strings (requires a length parameter).
8d1708434f750dd6b24708e77e9bcc142db7a69f authored over 9 years ago by Todd C. Miller <[email protected]>f18aa478d3889aef614be44443a421b27ca8f7fa authored over 9 years ago by Todd C. Miller <[email protected]>
11840308c4d9b543eab42592aa1b311e106b47f8 authored over 9 years ago by Todd C. Miller <[email protected]>
use our own if it is missing.
82286d8b7b2cb235422aac427e47547d894470fc authored over 9 years ago by Todd C. Miller <[email protected]>8437e3606b558c8073a9bffff39e7dd29efe8ced authored over 9 years ago by Todd C. Miller <[email protected]>
Only used if no glob() and no strnlen().
49d56f323e7636e0aa26d45485fb9effe67cee2c authored over 9 years ago by Todd C. Miller <[email protected]>extern and auto declarations unless they conflict.
04128f598589180ccf7d5298dd162d078ebb9bdd authored over 9 years ago by Todd C. Miller <[email protected]>ISO C.
05a01d4c5ddd203b7592598d48605cf26a74b4d0 authored over 9 years ago by Todd C. Miller <[email protected]>errors on systems where they would not otherwise be compiled.
No warnings from splint.
error on allocation failure.
69e62f316e356e68e6edb7dbb4da70943a0d7896 authored over 9 years ago by Todd C. Miller <[email protected]>instead of sudo_emalloc() and return KRB5_CC_NOMEM on allocation
failure. Only old versions of K...
6741fb5378c738d1e21420f70a4116efef70e42c authored over 9 years ago by Todd C. Miller <[email protected]>
a40cf3e28828f7fb429b362d3e61535886ea546a authored over 9 years ago by Todd C. Miller <[email protected]>
f1491fe1372f60630906ebea10aac348b9d87717 authored over 9 years ago by Todd C. Miller <[email protected]>
5c03b6b455f71e2f9a6650adf01e56b5a8d8420e authored over 9 years ago by Todd C. Miller <[email protected]>
as it does on ELF.
0b1e027b12ae755d22b030b29066222b24b6a4cb authored over 9 years ago by Todd C. Miller <[email protected]>cbcaaa299a3ed2141ede70919ab4f0f28950b76b authored over 9 years ago by Todd C. Miller <[email protected]>
c75eb5bf0dda0669e524d1b3d557317e3cb47199 authored over 9 years ago by Todd C. Miller <[email protected]>
3595807f4e36c3b809289cfbcc3bf3ff164b2303 authored over 9 years ago by Todd C. Miller <[email protected]>
0d418df037c97b55efaa1b0b3f4a2aea1a5926b5 authored over 9 years ago by Todd C. Miller <[email protected]>
sure the domain is set correctly. The sudoers plugin uses its own
text domain.
used to substitute in variables/settings.
336b99ade257ce4b39280ec2bee3e89890bf0dc6 authored over 9 years ago by Todd C. Miller <[email protected]>c525c5ca7a812af0ab2e2bf2998173fdb347abb9 authored over 9 years ago by Todd C. Miller <[email protected]>
051bf0d55cd4e842310bf0ead37ff77918d75a4d authored over 9 years ago by Todd C. Miller <[email protected]>
just use a registration function for a plugin-specific setlocale
function. The sudoers version j...
fc7143760bc9aad94785e7df65fd7d6a650d6a3a authored over 9 years ago by Todd C. Miller <[email protected]>
6ab59941524640cccb50e664a1d074aff5e6ca7c authored over 9 years ago by Todd C. Miller <[email protected]>
0c77de559e319ab077cd3852dea3b7a84fe8770b authored over 9 years ago by Todd C. Miller <[email protected]>
check instead of #ifndef.
4ae1bdf9c34c8e387ec7fcea6e950bb3507611be authored over 9 years ago by Todd C. Miller <[email protected]>166ee6879b08c485a20a9e12b501e4297a619ef7 authored over 9 years ago by Todd C. Miller <[email protected]>
253008e62b5c90e9bd75ae00ab835b576bc16d9e authored over 9 years ago by Todd C. Miller <[email protected]>
to handle group_plugin_query() returning a value other than 0/1.
c80b9c945756c91cc5f32b9645ee9ae21af1515c authored over 9 years ago by Todd C. Miller <[email protected]>d16434f977d9a0f6425eb8a38940de8db25a5efd authored over 9 years ago by Todd C. Miller <[email protected]>
eea4e1afd9d53b52858827b52be77c8215371a84 authored over 9 years ago by Todd C. Miller <[email protected]>
except that it logged true/false for 1/0. However, this appears
to trigger a bug in some compile...
9c9ff3dc4b5ebc9d437d7b4cac2561fb7e012bce authored over 9 years ago by Todd C. Miller <[email protected]>
d2624ffa965fd4ee54ddd21db581928b6b45e151 authored over 9 years ago by Todd C. Miller <[email protected]>
5647736ef5facda193e03c485427752624754e67 authored over 9 years ago by Todd C. Miller <[email protected]>
e1b67e6177aa83e2d31b0a89ad0525741c063579 authored over 9 years ago by Todd C. Miller <[email protected]>
ff806216fa052e333a08b22c4c9f44e86ffb5791 authored over 9 years ago by Todd C. Miller <[email protected]>
f5f5e17cb6c0e255452bf215161fb5f4f1efe6c6 authored over 9 years ago by Todd C. Miller <[email protected]>
ff89dde11624679961d6e157d9f6b20c1b9ca25c authored over 9 years ago by Todd C. Miller <[email protected]>
8930db0e09c4adf573438733ca582bfcfd1b594e authored over 9 years ago by Todd C. Miller <[email protected]>
where au_preselect() only accepts AUE_DARWIN_sudo (the old value).
8a1838364493a449f99c92c61d7f95817544127d authored over 9 years ago by Todd C. Miller <[email protected]>memory on some systems (glibc) which leads to a hang if malloc()
calls getenv() (jemalloc).
so we can use it in main() when we know sudo_debug_enter() cannot
succeed.
are initialized.
41f3666a126caac4811062ab0f29c6cc70fb3310 authored over 9 years ago by Todd C. Miller <[email protected]>database, set pw_gid to the user's gid instead of whatever the user
specified via the -g flag (or...
Adapted from a diff from Steven Soulen.
3de14196c85d3fc6a3b939efb09870add5792e06 authored over 9 years ago by Todd C. Miller <[email protected]>db7404898934d76c6829e8a84c18d33b607a36d6 authored over 9 years ago by Todd C. Miller <[email protected]>
28b64d296de4ea98599442d9f549516c740cd171 authored over 9 years ago by Todd C. Miller <[email protected]>
02aa57c16916c182833bd4fe2d977bcd5cc9f7c7 authored over 9 years ago by Todd C. Miller <[email protected]>
a struct st_timespec that differs from struct timespec.
From Andrey Klyachkin.
subdir of docdir.
68339fa9c1071a04458e03757f96d0fe6608619a authored over 9 years ago by Todd C. Miller <[email protected]>a79f3790ee5d3a205767bbe8905159755db53381 authored over 9 years ago by Todd C. Miller <[email protected]>
Add missing include of sys/types.h to a few places.
eeca3b0ca42663def08fcb929256225c76ec7933 authored over 9 years ago by Todd C. Miller <[email protected]>7e1c2fa00c3681dfa85519b22308448a19def689 authored over 9 years ago by Todd C. Miller <[email protected]>
cfe7a4cb33f53d61b245d659c2475091031fffba authored over 9 years ago by Todd C. Miller <[email protected]>
creating one via echo commands in the Makefile.
Add --enable-tmpfiles.d configure option to enab...
fa3552fa7663e25ec2bdc25ed34bf8a425c5e9b9 authored over 9 years ago by Todd C. Miller <[email protected]>Also tighten up the regexp for pp_rpm_release.
6d63ca32fb0dba80497d09d1c40fddae13e5b348 authored over 9 years ago by Todd C. Miller <[email protected]>on BSD systems.
d297f5fd846769e58884abc9836a1ce462351718 authored over 9 years ago by Todd C. Miller <[email protected]>do not package it. For packages we create /usr/lib/tmpfiles.d/sudo.conf
as needed in the postins...
Sync AUTHORS section in man pages.
Regenerate all man pages.
libsudo_util to link with libintl directly. Bug #690
15037d3b7ee38ce07dda3b1ac54252c47c274a0d authored over 9 years ago by Todd C. Miller <[email protected]>Fixes the error message printed if set_perms() fails.
3b309844067ad8cca71a811cbdd9c4db3eacc02e authored over 9 years ago by Todd C. Miller <[email protected]>cfeda97b0a38afd8e618acf3dacfcd2a45ccfd26 authored over 9 years ago by Todd C. Miller <[email protected]>
as per the documentation (and as in sudo 1.7.x). Bug #688
be4872f691fe6b0970bcbe680aa62a09281dda87 authored over 9 years ago by Todd C. Miller <[email protected]>d8d6fae793669d1c48e6ccd5859f8bf377f037a0 authored over 9 years ago by Todd C. Miller <[email protected]>
8088806bd8cc87ae2ac6057e9598c3d42d882b56 authored over 9 years ago by Todd C. Miller <[email protected]>
Be consistent with where we put TCSASOFT in the action flags.
ef1b2c3bebe544900741e53f18d23844ce94d01a authored over 9 years ago by Todd C. Miller <[email protected]>0600a0d0a9e8bd0f9885804f7c6b91a743bc998e authored over 9 years ago by Todd C. Miller <[email protected]>
9f22416935e5cc87436672f7af462aca52caa7e4 authored over 9 years ago by Todd C. Miller <[email protected]>
in libsudo_util.
5cfd0cff9c56c036a958c6d1e2748570c7081d6c authored over 9 years ago by Todd C. Miller <[email protected]>1e724eac8d0fb6b2c19dbd837e89a6d8075080a1 authored over 9 years ago by Todd C. Miller <[email protected]>
since some C compilers just ignore unsupported attributes.
26f0d6d8002f2acd48b3afe025b500d9739dd6a1 authored over 9 years ago by Todd C. Miller <[email protected]>da092640be42d75c7c23dbc0410b8d0467d37223 authored over 9 years ago by Todd C. Miller <[email protected]>
9896b2243db5fd2d319a036cb14cb86a695705b2 authored over 9 years ago by Todd C. Miller <[email protected]>