posix

  1. D

    Why doesn't chmod 7 set the delete flags in NFSv4?

    I am trying to learn more about NFSv4 ACLs and their mapping to POSIX ACLs. I was surprised to find that when I issue a chmod on a file with a 7 (e.g. chmod 755 or chmod 777) the resulting NFSv4 ACL does not have the Dd flags set. This is confusing to me, because I am able to delete the file...
  2. Zirias

    C/C++ Behavior of connect() with O_NONBLOCK on a Unix domain socket

    For a service that can optionally listen on a local (Unix) socket, I want to implement detection of a "stale" socket, so it can startup without user intervention in this case by just unlinking the stale socket. As my service is designed around an event loop using pselect, I put all sockets into...
  3. J

    C/C++ POSIX compliant Makefile - Pattern Rules?

    I'm trying to remove any implementation specific (GNU Make) details from my Makefiles but having a hard time fixing some issues. The structure of my projects is like so; myapp/ Makefile src/ foo/ foo1.c foo2.c bar/ bar1.c obj/ 1) The mere presence of an...
Top