[PATCH 1/1] su: Add a delay if the password is incorrect

Bartosz Gołaszewski bartekgola at gmail.com
Tue Mar 18 15:44:22 UTC 2014


> I have such a directory on my systems (/mnt/tmpfs, 0755, with /tmp
> actually being a symlink to /mnt/tmpfs/tmp, 1777). Some distributions
> use an initramfs and create /lib/rw (ugh). Unfortunately, nothing is
> standardized... Maybe we could use /dev ? Ha ha, only serious.

Is it necessary to use a filesystem at all? Why not use a
pthread_mutex shared across processes of the user calling su and
perform a pthread_mutex_timedlock() before the delay?

Best regards,
Bartosz Golaszewski


More information about the busybox mailing list