[0/1] nss: return early in DB reload-and-get if newfstatat fails (BZ #28752)

Message ID 20220314165414.3110670-1-sam@gentoo.org
Headers
Series nss: return early in DB reload-and-get if newfstatat fails (BZ #28752) |

Message

Sam James March 14, 2022, 4:54 p.m. UTC
  First contribution so let me know if need to change anything, thanks!

(Did want to add a test case but found it too hard to find a way to
construct a situation where the call would fail w/o seccomp, and
adding a libseccomp dependency isn't desirable.)

Sam James (1):
  nss: return early in DB reload-and-get if newfstatat fails (BZ #28752)

 nss/nss_database.c | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)