]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - io/fchmodat.c
elf: Refuse to dlopen PIE objects [BZ #24323]
[thirdparty/glibc.git] / io / fchmodat.c
index 63e3042578cc16a53d744e6ff1e4f7d7cacefb2b..8889749dd60f3833a2a7499120de5f65c2acbadf 100644 (file)
@@ -1,5 +1,5 @@
 /* Change the protections of file relative to open directory.  Stub version.
-   Copyright (C) 2006-2014 Free Software Foundation, Inc.
+   Copyright (C) 2006-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
 #include <sys/stat.h>
 
 int
-fchmodat (fd, file, mode, flag)
-     int fd;
-     const char *file;
-     mode_t mode;
-     int flag;
+fchmodat (int fd, const char *file, mode_t mode, int flag)
 {
   if (file == NULL || (flag & ~AT_SYMLINK_NOFOLLOW) != 0)
     {