Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

acl_get_brand_np(3) [freebsd man page]

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_GET_ENTRY_TYPE_NP(3)				   BSD Library Functions Manual 				  ACL_GET_ENTRY_TYPE_NP(3)

NAME
acl_get_entry_type_np -- retrieve the ACL type from an NFSv4 ACL entry LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <sys/types.h> #include <sys/acl.h> int acl_get_entry_type_np(acl_entry_t entry_d, acl_entry_type_t *entry_type_p); DESCRIPTION
The acl_get_entry_type_np() function is a non-portable call that returns the ACL type for the NFSv4 ACL entry entry_d. Upon successful com- pletion, the location referred to by the argument entry_type_p will be set to the ACL type of the ACL entry entry_d. RETURN VALUES
The acl_get_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_get_entry_type_np() function fails if: [EINVAL] Argument entry_d is not a valid descriptor for an NFSv4 ACL entry; SEE ALSO
acl(3), acl_set_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
June 25, 2009 BSD
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Which distribution is right for me??

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)
Discussion started by: ap83
3 Replies

2. UNIX for Dummies Questions & Answers

using Vi

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)
Discussion started by: LiTo
4 Replies

3. UNIX for Dummies Questions & Answers

Hardware for UNIX/Free BSD

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)
Discussion started by: kargooliw
9 Replies

4. UNIX for Dummies Questions & Answers

SSH Compress Commands

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)
Discussion started by: kushti
2 Replies

5. UNIX for Dummies Questions & Answers

Newb here....Someone spying on me?

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)
Discussion started by: andre2000
3 Replies

6. HP-UX

scripts problem

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)
Discussion started by: Asheley Ryan
13 Replies

7. Solaris

brand names

how to get the disks brand names? NIC brand names? thanks (3 Replies)
Discussion started by: melanie_pfefer
3 Replies

8. UNIX for Dummies Questions & Answers

Device Probe freezes after detecting Ethernet address while installing FreeeBSD 7.0

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)
Discussion started by: ideogon
2 Replies

9. Fedora

UNIX on a blank system

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)
Discussion started by: mechedd
5 Replies

10. BSD

UNIX IP Address question

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)
Discussion started by: tommypa
6 Replies

11. Shell Programming and Scripting

Need to create a simple script using MD5, SSH...

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)
Discussion started by: zixzix01
54 Replies

12. Shell Programming and Scripting

Searching for values in a file

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)
Discussion started by: todaealas
5 Replies

13. What is on Your Mind?

Very Expensive Running Shoes

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)
Discussion started by: Perderabo
4 Replies

14. What is on Your Mind?

What brand is your primary computer?

A poll is added. Please vote and share your experiences. :b: If you select option: Other Brand then please post the brand name (22 Replies)
Discussion started by: Yoda
22 Replies

15. UNIX for Beginners Questions & Answers

Encryption in Linux?

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)
Discussion started by: xdawg
2 Replies