Class FcntlCommands

java.lang.Object
com.github.marschall.nativebytebuffers.FcntlCommands

public final class FcntlCommands extends Object
  • Field Details

    • F_ADD_SEALS

      public static final int F_ADD_SEALS
      Add the seals given in the bit-mask argument arg to the set of seals of the inode referred to by the file descriptor fd. Seals cannot be removed again. Once this call succeeds, the seals are enforced by the kernel immediately. If the current set of seals includes Seals.F_SEAL_SEAL (see below), then this call will be rejected with EPERM. Adding a seal that is already set is a no-op, in case Seals.F_SEAL_SEAL is not set already. In order to place a seal, the file descriptor fd must be writable.
      See Also:
    • F_GET_SEALS

      public static final int F_GET_SEALS
      Return (as the function result) the current set of seals of the inode referred to by fd. If no seals are set, 0 is returned. If the file does not support sealing, -1 is returned and errno is set to EINVAL.
      See Also: