ACL_GET_BRAND_NP(3) BSD Library Functions Manual ACL_GET_BRAND_NP(3)NAME
acl_get_brand_np -- retrieve the ACL brand from an ACL entry
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <sys/types.h>
#include <sys/acl.h>
int
acl_get_brand_np(acl_t acl, int *brand_p);
DESCRIPTION
The acl_get_brand_np() function is a non-portable call that returns the ACL brand for the ACL acl. Upon successful completion, the location
referred to by the argument brand_p will be set to the ACL brand of the ACL acl.
Branding is an internal mechanism intended to prevent mixing POSIX.1e and NFSv4 entries by mistake. It's also used by the libc to determine
how to print out the ACL. The first call to function that is specific for one particular brand - POSIX.1e or NFSv4 - "brands" the ACL.
After that, calling function specific to another brand will result in error.
RETURN VALUES
The acl_get_brand_np() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to
indicate the error.
ERRORS
The acl_get_brand_np() function fails if:
[EINVAL] Argument acl does not point to a valid ACL.
SEE ALSO acl(3), posix1e(3)STANDARDS
POSIX.1e is described in IEEE POSIX.1e draft 17.
HISTORY
POSIX.1e support was introduced in FreeBSD 4.0. The acl_get_brand_np() function was added in FreeBSD 8.0.
AUTHORS
The acl_get_brand_np() function was written by Edward Tomasz Napierala <trasz@FreeBSD.org>.
BSD June 25, 2009 BSD
Check Out this Related Man Page
ACL_SET_ENTRY_TYPE_NP(3) BSD Library Functions Manual ACL_SET_ENTRY_TYPE_NP(3)NAME
acl_set_entry_type_np -- set NFSv4 ACL entry type
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <sys/types.h>
#include <sys/acl.h>
int
acl_set_entry_type_np(acl_entry_t entry_d, acl_entry_type_t entry_type);
DESCRIPTION
The acl_set_entry_type_np() function is a non-portable call that sets the type of the NFSv4 ACL entry entry_d to the value referred to by
entry_type.
Valid values are:
ACL_ENTRY_TYPE_ALLOW allow type entry
ACL_ENTRY_TYPE_DENY deny type entry
This call brands the ACL as NFSv4.
RETURN VALUES
The acl_set_entry_type_np() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is
set to indicate the error.
ERRORS
The acl_set_entry_type_np() function fails if:
[EINVAL] Argument entry_d is not a valid descriptor for an ACL entry. The value pointed to by entry_type is not valid. ACL is
already branded as POSIX.1e.
[ENOMEM] The value to be returned requires more memory than is allowed by the hardware or system-imposed memory management con-
straints.
SEE ALSO acl(3), acl_get_brand_np(3), acl_get_entry_type_np(3), posix1e(3)STANDARDS
POSIX.1e is described in IEEE POSIX.1e draft 17.
HISTORY
POSIX.1e support was introduced in FreeBSD 4.0. The acl_get_entry_type_np() function was added in FreeBSD 8.0.
AUTHORS
The acl_get_entry_type_np() function was written by Edward Tomasz Napierala <trasz@FreeBSD.org>.
BSD October 30, 2014 BSD
First off, hello all, I'm brand new to the forum!! I look forward to learning alot here. Secondly, I'm sorry if this has been asked before, as I did search several ways, but the results were rather overwhelming. I'm trying to determine which Linux distribution I am going to purchase. If I had... (3 Replies)
I have 3 column
computes 21312 brand
toastesr 213 brand
printer 2132 brand
tV 1232 brand
I want to display the first and 3 column
I try to use $ awk -f " " `{print $1, " ", $3}' myfilename
and it doenst work.. help..... (4 Replies)
Hi!
I'm planning to start to set up a Webserver. All software has to be freeware.
I'm also planning to use Free BSD/UNIX for this project.
Apache as Webserversystem and so on...
Therefor I would like to have some info about what kind of hardware I need.
I'm planning to buy a computer... (9 Replies)
I am brand new to unix and am hoping someone can start me in the right direction.
I hope I have the right forum but if not can a moderator move this thread to the right area.
I am moving servers and need to back up a folder and its sub folders into a .tar.gz file then want to upload that file... (2 Replies)
Hey all. I'm brand spankin' new here to the board. I'm also a novice at Unix. I've been using it for about 1 year now but I haven't really expanded my abilities since I learned the basics. I am in school and I mainly just use Unix to submit stuff to assignment directories and use it to compile my... (3 Replies)
Hi, the only experience I have with Unix is on C360 workstations using 10.20 and Omniback II to restore email with HP Openmail. I have four brand new machines that I am installing the OS and software on, however, their are scripts that were written specifically for our tape process that I have... (13 Replies)
I'm trying to install FreeBSD 7.0 from CDs I made a few months ago on a brand new system with parts I just got in from NewEgg. I select the default option from the Boot Loader and it goes into the device probe. Several devices are recognized, but then it freezes at:
mskc0: <Marvell Yukon... (2 Replies)
I am brand new to UNIX. I am planning on setting up a server/workstation in a few months and I am trying to do some research. If I have a brand new computer with absolutely nothing installed on it how do I install UNIX? What setup would be best for personal web hosting and serving a network of... (5 Replies)
Good morning,
I am brand new to using Unix so forgive me for my ignorance. I am using FreeBSD and am trying to figure out how to change my IP address. Sorry for the stupid questions but I am learning so please bear with me.
Thank you,
Tommy (6 Replies)
Hi all, I am brand new to these forums and I am a brand new UNIX Administartor. Don't know any scripting yet :wall:, and would like to learn as my boss is slowly letting me understand everything about being a Sys/*Nix Admin. He created this script which I am trying to replicate because I lost it... (54 Replies)
Hi guys.
I'm trying to do a search on the fruit & brand inside Fruit.txt, and printing the result out in the following format:
, , $,
I am able to do this via the following code:
awk -F: -vOFS=", " -vt="$Fruit:$Brand" '$0~t{$3="$"$3;print}' Fruit.txt
However, I want to be able to... (5 Replies)
You really should not need one third of the entire US budget to buy a pair of running shoes... even if they are name brand. What have these guys been smoking? It reminds me of the old joke...
Customer: At those prices you aren't going to sell many shoes.
Salesman: Ah, but all we need to do is... (4 Replies)
Hi, we have a brand new Centos 6.8 build, and after some discussion it seems that there is some interest in securing the entire system using whole disk encryption.
What is/are the best option/s, and is this something that can be done after Centos is installed (like for example PGP WDE in Windows... (2 Replies)