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

Use struct timespec, not struct timeval in the event subsystem.

Use ppoll() or pselect() if avaialble which use timespec.

github.com/sudo-project/sudo - 04d1f56d904e9b5cab153807557fd973d5b70708 authored about 6 years ago by Todd C. Miller <[email protected]>
sync

github.com/sudo-project/sudo - 1f248504af459c5953c0be42413b1e6c72410d6d authored about 6 years ago by Todd C. Miller <[email protected]>
Eliminate most use of parsed_sudoers in cvtsudoers

github.com/sudo-project/sudo - 5d1dddc467dac05387acdfb4016924ab084e4a92 authored about 6 years ago by Todd C. Miller <[email protected]>
Make alias_apply() take 3 arguments, the first being a pointer to the

struct sudoers_parse_tree.

github.com/sudo-project/sudo - b2e3adccf32bc9004149be154101bbbc0b317fb9 authored about 6 years ago by Todd C. Miller <[email protected]>
Handle systems where root's gid is not 0.

github.com/sudo-project/sudo - 4b3c8a73a001396d38b69c404db9301088432ae1 authored about 6 years ago by Todd C. Miller <[email protected]>
Add missing files from last commit.

github.com/sudo-project/sudo - 2960e3963d3c2c2ff417e15630ab6c50a3b6aed3 authored about 6 years ago by Todd C. Miller <[email protected]>
Add regress test for I/O log plugin endpoints

github.com/sudo-project/sudo - aaad554cdafc2ef06a72cc04d0d5d0c2d921726a authored about 6 years ago by Todd C. Miller <[email protected]>
We cannot reuse last_time for the I/O log info file now that it is

a monotonic timer. Just call time(3) in write_info_log() directly.

github.com/sudo-project/sudo - 0d36ea93259b47b05d8b4206f8886bcf3724932a authored about 6 years ago by Todd C. Miller <[email protected]>
Move the loop to free the monitor_messages list into free_exec_closure_pty()

github.com/sudo-project/sudo - 59e5e379be5662e3d8d5968d989234db0a04b8a4 authored about 6 years ago by Todd C. Miller <[email protected]>
regen

github.com/sudo-project/sudo - 93fc7cf6daca72417397cfb3ca7d314d3f7ab87c authored about 6 years ago by Todd C. Miller <[email protected]>
Fix typo in last commit.

github.com/sudo-project/sudo - fe965c3a31b1143edda0b0092cb1cd8ba84ad836 authored about 6 years ago by Todd C. Miller <[email protected]>
Do not assume all Linux has linux/random.h.

Add missing sys/syscall.h include

github.com/sudo-project/sudo - d876602dbf0f9d987f83b175e51144455a3b28f0 authored about 6 years ago by Todd C. Miller <[email protected]>
Cast uid/gid to unsigned int before printing.

github.com/sudo-project/sudo - fe5806254790edbd482a4b00b267ef643fdc223b authored about 6 years ago by Todd C. Miller <[email protected]>
Only include stdarg.h if we need it.

github.com/sudo-project/sudo - 10198ef6f309d13caddb6a549ecd5072be813e4a authored about 6 years ago by Todd C. Miller <[email protected]>
fix compiler warnings on Solaris 11

github.com/sudo-project/sudo - dcf168e7021a90d692c20d3707899a8e97ab4093 authored about 6 years ago by Todd C. Miller <[email protected]>
Fix setting of errno when gotdata() fails.

github.com/sudo-project/sudo - ad104a3e47b62b72add30e946df2ae9c364d9290 authored about 6 years ago by Todd C. Miller <[email protected]>
Include stddef.h for offsetof() definition.

github.com/sudo-project/sudo - aaefdd7575cec4ee8ad3597dd3f606c7d19b5e5e authored about 6 years ago by Todd C. Miller <[email protected]>
Bugs 846 and 847

github.com/sudo-project/sudo - 6e4ec91801e3fd7657eaf2d7f4344a7e34a7d27c authored about 6 years ago by Todd C. Miller <[email protected]>
We still need to include string.h for AIX (and possibly others)

when we are not using the system memset_r() function and rsize_t
is defined by the system headers.

github.com/sudo-project/sudo - 5a0c86bb630b521d10bbbee3102d3e00c7c3d49f authored about 6 years ago by Todd C. Miller <[email protected]>
Add --enable-package-build to give configure a hint that we are

building a package. This can be used to avoid relying on libc
functions that may not be present ...

github.com/sudo-project/sudo - 957f284bba669df51fce82beaee8f24d8f31de36 authored about 6 years ago by Todd C. Miller <[email protected]>
AIX defines rsize_t in string.h, not stddef.h for use by the

memset_s() prototype. We use our own memset_s() on AIX since it
is not available on all BOS leve...

github.com/sudo-project/sudo - d9dec932772ffc3f8b2047af8ab86afec47adf37 authored about 6 years ago by Todd C. Miller <[email protected]>
Fix printing of T_TIMESPEC values.

github.com/sudo-project/sudo - 9e6c14b091d847d654685ecbf572ff11961f06c6 authored about 6 years ago by Todd C. Miller <[email protected]>
Remove unused struct script_buf

github.com/sudo-project/sudo - 31e065c6ca323496c275a565a63a8658b2946905 authored about 6 years ago by Todd C. Miller <[email protected]>
Document when the I/O log timing file entry bug was introduced.

github.com/sudo-project/sudo - 8d83bd5c05a4654e03c744cd561fb0cc17598536 authored about 6 years ago by Todd C. Miller <[email protected]>
sync

github.com/sudo-project/sudo - afca08c74d5a246696640ca113dc18c3cc51618c authored about 6 years ago by Todd C. Miller <[email protected]>
HP-UX doesn't suport CLOCK_MONOTONIC but we can use gethrtime() instead.

github.com/sudo-project/sudo - df1c062526333b3fa85b0dfeb126496abd8bc890 authored about 6 years ago by Todd C. Miller <[email protected]>
Close the pty slave in the parent so that when the command and

monitor exit, the pty gets recycled without our having to close
it directly.

github.com/sudo-project/sudo - 5cca421867408df3e4f2f7feb46c68d6203d3fd2 authored about 6 years ago by Todd C. Miller <[email protected]>
Move updating of the window size to the monitor process.

This will allow us to close the slave in the main sudo process in
the future so only the command ...

github.com/sudo-project/sudo - 6953e7fc798bb33c4e4fb3817e49ad624fadea4c authored about 6 years ago by Todd C. Miller <[email protected]>
sudo 1.8.25

github.com/sudo-project/sudo - db8a760b0f67aea02828289f7b41b4d5dc7542c8 authored about 6 years ago by Todd C. Miller <[email protected]>
Fix test output for bug #845

github.com/sudo-project/sudo - 3c562facca3f32bf7c4c6f9c39f7dce4906768a1 authored about 6 years ago by Todd C. Miller <[email protected]>
Fix pasto when converting sudoNotAfter; from Miguel Sanders

Bug #845

github.com/sudo-project/sudo - 5af26822839b24b400f405485d521b98df50ce17 authored about 6 years ago by Todd C. Miller <[email protected]>
Use a monotonic timer that only runs while not suspended for the

iolog timing values and write nsec-precision entries.

github.com/sudo-project/sudo - 3f1470ebed72a681f90f2ea9d029f1231b9ba5c4 authored about 6 years ago by Todd C. Miller <[email protected]>
Add sudo_gettime_uptime() to measure time while not sleeping.

github.com/sudo-project/sudo - b3227d3ed54f12b10147d06f8df3478bc6708886 authored about 6 years ago by Todd C. Miller <[email protected]>
Detect number of CPUs on AIX.

github.com/sudo-project/sudo - e74d7e87213a88f6e4221c40297efdc5ef68acde authored about 6 years ago by Todd C. Miller <[email protected]>
Fix I/O log timing file on systems without a C99-compatible snprintf().

On those systems we use our own snprintf() that doesn't support
floating point. We don't actuall...

github.com/sudo-project/sudo - afad4eb94d24965fd5d553fc3b1e067cc5945ae9 authored about 6 years ago by Todd C. Miller <[email protected]>
Fix for Bug #844

github.com/sudo-project/sudo - 46ab293ce9e79f0cd8dfec9961dcacffaf747fb4 authored about 6 years ago by Todd C. Miller <[email protected]>
Handle the case where O_PATH or O_SEARCH is defined but O_DIRECTORY

is not. In theory, O_DIRECTORY is redundant when O_SEARCH is
specified but it is legal for O_EXE...

github.com/sudo-project/sudo - 69541be94a5bffdd9f77263405e814dd636ba516 authored about 6 years ago by Todd C. Miller <[email protected]>
sync

github.com/sudo-project/sudo - 288f3f17a6bbbd31c77a9397f908cf9f26777d7b authored about 6 years ago by Todd C. Miller <[email protected]>
Fix get_starttime() on HP-UX.

github.com/sudo-project/sudo - 92975ee7c7596dd9d348358242f07201d499bcd0 authored about 6 years ago by Todd C. Miller <[email protected]>
Detect number of CPUs on HP-UX.

Use MAKE environment variable if set.

github.com/sudo-project/sudo - d7e265939bf662532fec3008abec5050da65d3f3 authored about 6 years ago by Todd C. Miller <[email protected]>
Avoid a compilation problem on HP-UX 11.31 with gcc and machine/sys/getppdp.h

github.com/sudo-project/sudo - 7d014dfacd002cedacc6a4e6b09862c208491187 authored about 6 years ago by Todd C. Miller <[email protected]>
Add CHECK_SYMBOLS_LDFLAGS to check_symbols target. Non-ELF HP-UX

executables don't support SHLIB_PATH or LD_LIBRARY_PATH unless ld
is passed the +s flag. This le...

github.com/sudo-project/sudo - 9317367e29d0cf1fc6d2a88b6fadabf6d5178f8c authored about 6 years ago by Todd C. Miller <[email protected]>
For the lint target, don't stop after the first manual that fails lint.

github.com/sudo-project/sudo - 18ddabfebf4028664ad84ee7eb3e7de02aa0c4a5 authored about 6 years ago by Todd C. Miller <[email protected]>
Add debugging info so we can tell why a timestamp record doesn't match.

github.com/sudo-project/sudo - 7a929ce13559537cca0ef156fa71baeb3c8adb84 authored about 6 years ago by Todd C. Miller <[email protected]>
typo

github.com/sudo-project/sudo - c0d60b9dd0566ed4d7ee1364ca4abfd4a7509303 authored about 6 years ago by Todd C. Miller <[email protected]>
sync with translationproject.org

github.com/sudo-project/sudo - a7b42e9b20c5e7db8bbd0c74bdd6994f17a5282e authored about 6 years ago by Todd C. Miller <[email protected]>
Fix the return value of sudoers_io_change_winsize() on success.

Otherwise, we only log a single window size change.

github.com/sudo-project/sudo - 418bf793f78925566e5c079515115a0f45220bdf authored about 6 years ago by Todd C. Miller <[email protected]>
sync with translationproject.org

github.com/sudo-project/sudo - d026469289015485bcffcf2415cf9a40fcaa8e2e authored about 6 years ago by Todd C. Miller <[email protected]>
sync

github.com/sudo-project/sudo - c5f64b7416cab00b8d3974d4d10acea3cbf1454c authored about 6 years ago by Todd C. Miller <[email protected]>
Fix ambiguity when talking about Aliases. We can't use User_Alias

in the grammar as both the definition of the Alias as well as its
name. This adds {User,Runas,Ho...

github.com/sudo-project/sudo - 0484e3d6a9a3505745237d68d1ea99eb2ff30f91 authored about 6 years ago by Todd C. Miller <[email protected]>
regen

github.com/sudo-project/sudo - 9722b304b682551b57b0a864d402351c4d959b3c authored about 6 years ago by Todd C. Miller <[email protected]>
Warn if unable to run xgettext or msgfmt.

github.com/sudo-project/sudo - 78190bb9cb4913409172d80af3218bdfc1a03593 authored about 6 years ago by Todd C. Miller <[email protected]>
sync with translationproject.org

github.com/sudo-project/sudo - 0053b07ed310b6b3a930c19f22f1c911e2747c64 authored about 6 years ago by Todd C. Miller <[email protected]>
Refactor code to convert defaults to tags and do conversion on

output for "sudo -l".

Remove the short_list (was long_list) global in favor of a verbose
argument.

github.com/sudo-project/sudo - 1e5af355642ee3b4940778b8055556273cf94d64 authored about 6 years ago by Todd C. Miller <[email protected]>
Assign short_list true, not 1 now that it is a boolean.

github.com/sudo-project/sudo - 413b53cda3baf6de88520a83942a2eea05111683 authored about 6 years ago by Todd C. Miller <[email protected]>
fix typo

github.com/sudo-project/sudo - db387a53a6602a941d43c81cd9f82b3b21484079 authored about 6 years ago by Todd C. Miller <[email protected]>
Fix a warning on FreeBSD which has a fancier __containerof implementation.

github.com/sudo-project/sudo - 9cc09e4372d9261a94fa14becfb5f79733a8969d authored about 6 years ago by Todd C. Miller <[email protected]>
sync with translationproject.org

github.com/sudo-project/sudo - 6a692fec31dbabf71fe48065905aeaa2809a859f authored about 6 years ago by Todd C. Miller <[email protected]>
Regen with aclocal 1.15.1.

github.com/sudo-project/sudo - f4a5d2b3e2e4443b0519d8ff7023a63708a4edd8 authored about 6 years ago by Todd C. Miller <[email protected]>
For ldap/sssd, include defaults in the generate privilege unless

we are listing in short mode (in which case we convert them to tags
if possible). Fixes a proble...

github.com/sudo-project/sudo - 608574a219226bf88268df440cbfeb5bc1a320ec authored about 6 years ago by Todd C. Miller <[email protected]>
update_defaults() needs to be able to take a defaults_list for

the ldap/sssd backends which support per-role defaults.

github.com/sudo-project/sudo - 171686c422eb69c47b96876e43bf242a0a78081d authored about 6 years ago by Todd C. Miller <[email protected]>
regen

github.com/sudo-project/sudo - 34655148e0af9cf23729102840dfd853b674b64a authored about 6 years ago by Todd C. Miller <[email protected]>
Update

github.com/sudo-project/sudo - 3b57230851d73da70fc5d8d4bd682f3841b5db3a authored about 6 years ago by Todd C. Miller <[email protected]>
o Move userspecs, defaults and aliases into a new struct sudoers_parse_tree.

o The parse tree is now passed to the alias, match and defaults functions.
o The nss API has been...

github.com/sudo-project/sudo - 70d519c8ad4123e131de7e48e135dcec1e35c5da authored about 6 years ago by Todd C. Miller <[email protected]>
Don't need to preallocate 4 x NGROUP_MAX on AIX or BSD/Linux.

For BSD/Linux, getgrouplist(3) will tell us the number of groups if
we don't have enough. For AI...

github.com/sudo-project/sudo - 86413f95ec8a28731a7795b95b7a04c00f7a4c5c authored about 6 years ago by Todd C. Miller <[email protected]>
Ignore PAM_NEW_AUTHTOK_REQD and PAM_AUTHTOK_EXPIRED errors from

pam_acct_mgmt() if authentication is disabled for the user.
Bug #843

github.com/sudo-project/sudo - 394524fd5d9ee493ce34894579a8c937fa3b9090 authored about 6 years ago by Todd C. Miller <[email protected]>
Work around a bug on AIX where closing the pty slave causes the

main sudo process to lose its controlling tty (which was *not* the
pty slave).

github.com/sudo-project/sudo - dc1e0e71684a8d3b25d1645e02c4aa56076a8fcd authored about 6 years ago by Todd C. Miller <[email protected]>
Add missing aix_restoreauthdb() call to match the aix_setauthdb()

added in b8a011be9af7. Fixes issues on AIX where local users/groups
may not be resolved when som...

github.com/sudo-project/sudo - 5d31be96a7d4046d01478b2b0d8d8da9f062610d authored about 6 years ago by Todd C. Miller <[email protected]>
Linux getgrouplist(3) returns the number of groups on success instead

of 0 like BSD.

github.com/sudo-project/sudo - e7daff062f9c5e6ab665859f28e299814696632b authored about 6 years ago by Todd C. Miller <[email protected]>
When both a .o and .lo file was used in a Makefile, we used to make

the .o depend on the .lo. Unfortunately, this creates a race
condition for parallel make since l...

github.com/sudo-project/sudo - 36e21a216f740a8bbb0cd6d00bf2606fc5670a0d authored about 6 years ago by Todd C. Miller <[email protected]>
Avoid duplicate free when netgroup_base is invalid.

github.com/sudo-project/sudo - 2270b1e89fec905170cdb99961167d7fd030c1f2 authored over 6 years ago by Todd C. Miller <[email protected]>
Use madvise(2) with MADV_WIPEONFORK if available.

github.com/sudo-project/sudo - 33f96a03472a3f6ed74549c2989af467e3f65353 authored over 6 years ago by Todd C. Miller <[email protected]>
sync with translationproject.org

github.com/sudo-project/sudo - 4b54799ddb444221a029268b609639feb9274079 authored over 6 years ago by Todd C. Miller <[email protected]>
Update.

github.com/sudo-project/sudo - c84c32d9e6d8d3269ca376cd705746e31603c738 authored over 6 years ago by Todd C. Miller <[email protected]>
sync with schema.OpenLDAP

github.com/sudo-project/sudo - 4859b787977898e6d0ce01344b04561f308b5a48 authored over 6 years ago by Todd C. Miller <[email protected]>
RFC 2849 specifies whitespace as the space character only so replace

tabs with spaces. Bug #840

github.com/sudo-project/sudo - 433a74d1dc4b4693406018b169f5506156f818ad authored over 6 years ago by Todd C. Miller <[email protected]>
Fix typo; bug #839

github.com/sudo-project/sudo - dd3366106665c69d48799fc8119dd254a9d053e6 authored over 6 years ago by Todd C. Miller <[email protected]>
Should no longer need to set max_groups.

github.com/sudo-project/sudo - e1ecc7142c3c175b3b73bb28abc88cddb3e227ab authored over 6 years ago by Todd C. Miller <[email protected]>
Use new sudo_getgrouplist2() function instead of getgrouplist().

github.com/sudo-project/sudo - c57ca7440560b6374b250fda52e68033992784ab authored over 6 years ago by Todd C. Miller <[email protected]>
Add sudo_getgrouplist2() to dynamically allocate the group vector.

This allows us to avoid repeatedly calling getgrouplist() with
a statically sized vector on macOS...

github.com/sudo-project/sudo - 0ae966283374e5324b13aae7bc52f2c4c7488c47 authored over 6 years ago by Todd C. Miller <[email protected]>
Fix fd leak introduced by SUDO_CONV_PREFER_TTY commit. Coverity CID 186605.

github.com/sudo-project/sudo - 1385613797aab90d61d3b6406404d0bab74203d7 authored over 6 years ago by Todd C. Miller <[email protected]>
Fix some issues pointed out by mandoc -Tlint

github.com/sudo-project/sudo - b67915c6e4c07104eb6df7ef4bf20d841f4f0657 authored over 6 years ago by Todd C. Miller <[email protected]>
Add SUDO_CONV_PREFER_TTY flag for conversation function to tell

sudo to try writing to /dev/tty first. Can be used in conjunction
with SUDO_CONV_INFO_MSG and SU...

github.com/sudo-project/sudo - 6eadaddc9924fa0e0f8af53cc4ed9df34d5e4def authored over 6 years ago by Todd C. Miller <[email protected]>
Update for arc4random.c, arc4random_uniform.c and getentropy.c

github.com/sudo-project/sudo - 89c83f0321232789fc6e961f902cb8cda1dbdf0b authored over 6 years ago by Todd C. Miller <[email protected]>
FreeBSD wordexp() returns WRDE_SYNTAX if it can't write to the shell

process. Since we've prevented execve() from succeeding this is
the error we get back from worde...

github.com/sudo-project/sudo - 8b63ec654a1a82b14536673d1477658a1bc881ae authored over 6 years ago by Todd C. Miller <[email protected]>
Fix conversion of usec to nsec; from Scott Cheloha

github.com/sudo-project/sudo - ec2dae81043709173aede70e71e4392b61dc8ff2 authored over 6 years ago by Todd C. Miller <[email protected]>
Fix typo.

github.com/sudo-project/sudo - dafb5f523ade422e62512f27df62c6a921f29b77 authored over 6 years ago by Todd C. Miller <[email protected]>
The getdefs() function now get called multiple times so use the

cached data if present.

github.com/sudo-project/sudo - 919b5672297e20320ed123479a051dbc604e589d authored over 6 years ago by Todd C. Miller <[email protected]>
Return an empty defaults list, not NULL if there is no global sudoers

defaults entry in sss.

github.com/sudo-project/sudo - 899aedfd1015dacd1c7d91e21ac6546167433609 authored over 6 years ago by Todd C. Miller <[email protected]>
Fix memory leak of handle pointer on close.

github.com/sudo-project/sudo - 1202beafbae1c5bb23f2e6722b00075a3b400bc9 authored over 6 years ago by Todd C. Miller <[email protected]>
Remove a needless copy when parsing options.

github.com/sudo-project/sudo - c990d93a4ed43ab446c7bcbda55d6a7debfa29c1 authored over 6 years ago by Todd C. Miller <[email protected]>
Move cached userspecs and defaults into the handle object.

github.com/sudo-project/sudo - 0b31f186cdf7723eb782dd7722401534c113e867 authored over 6 years ago by Todd C. Miller <[email protected]>
Quiet a clang analyzer warning. It should not be possible for

pop_include() to be called when YY_CURRENT_BUFFER is NULL.

github.com/sudo-project/sudo - 1ad2290a27b13194970c68efbf1b95333b0f5892 authored over 6 years ago by Todd C. Miller <[email protected]>
Reorder things to avoid the need to declare static functions.

github.com/sudo-project/sudo - e401f92830c4f2cc1d8a6e5d480f3b49c23ba0d2 authored over 6 years ago by Todd C. Miller <[email protected]>
Use arc4random for mkstemp() and insults.

github.com/sudo-project/sudo - 43003d29d8ac430a5f83e86d062f2d205ca99a67 authored over 6 years ago by Todd C. Miller <[email protected]>
Import arc4random() from libressl. This takes an all-in-one approach

instead of the one-file-per-OS approach that libressl takes.
The fallback code does not have as m...

github.com/sudo-project/sudo - ddd663a5f2aafc5a9b08c07930c89635c28289ef authored over 6 years ago by Todd C. Miller <[email protected]>
Move digest code into libutil

github.com/sudo-project/sudo - 154a5f59a923dc37fbc76c050a6b821fce2d8210 authored over 6 years ago by Todd C. Miller <[email protected]>
Check for invalid bas64 attributes.

github.com/sudo-project/sudo - 1cd472c0514b79dd3e5cb117dd6a94fe4fb3c82a authored over 6 years ago by Todd C. Miller <[email protected]>
Fix pointer sign warnings.

github.com/sudo-project/sudo - a04cb53e37cac5b91e877ab797175d14698e1220 authored over 6 years ago by Todd C. Miller <[email protected]>
Add missing variable declaration for SELinux and Solaris.

github.com/sudo-project/sudo - 5c113e59ecacb0b21f224a20e3ffb2891e550816 authored over 6 years ago by Todd C. Miller <[email protected]>