Mark code that escapes/unescapes "sudo -s cmd args..." for removal.
A future version of the plugin API will defer any such escaping to the policy plugin so it can be configurable.
This commit is contained in:
@@ -29,6 +29,9 @@
|
||||
|
||||
#include "sudoers.h"
|
||||
|
||||
/*
|
||||
* Like strlcpy() but collapses non-space chars escaped with a backslash.
|
||||
*/
|
||||
size_t
|
||||
strlcpy_unescape(char *dst, const char *src, size_t size)
|
||||
{
|
||||
|
Reference in New Issue
Block a user