CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org 2015/11/18 09:44:46
Modified files: include : pwd.h lib/libc/gen : getpwent.c lib/libc/hidden: pwd.h Log message: Add _shadow variants to the two popular getpw functions (uid and nam). This version of the function will always open the secure/shadow/master password files. Soon, the regular variants of these functions will not. (Intermixing shadow and regular gets a little weird; don't do that.) Not using struct spwd and getspwnam functions to reduce churn in callers. Should just be a one line diff in most places. ok deraadt