Extended Attributes - Glibc and the 'attr' package

Glibc implements the (semi-standard) EA functions: {,l,f}setxattr, {,l,f}getxattr, {,l,f}removexattr, {,l,f}listxattr.  the interface of which is accessible via sys/xattr.h.
In core there is an 'attr' package -required by acl and more- that includes the exact same functions, the interface is in attr/xattr.h.
I see that attr includes some more -mostly convenience- functions, but other then that are they the same?  when should one prefer one over the other?
thanks.

That's what I thought first, but look at the (attr) source, it can't go more straight-forward...
most of the other libattr functions are just for compatibility with Irix, (the only exceptions seems to be the attr_copy_* functions).
On Acl-devel they say:
The libattr interfaces predate the glibc interfaces - they were used
when we were originally developing the tools.
These days, you should always use the glibc variant.
thanks anyway.

Similar Messages

  • I want Photoshop and InDesign- If I buy two "single app" subscriptions it is $40/month but if I buy the single app subscription for InDesign and the Photography package it is $30/month. Am I missing something? Are these different versions of Photoshop?

    I want Photoshop and InDesign- If I buy two "single app" subscriptions it is $40/month but if I buy the single app subscription for InDesign and the Photography package it is $30/month. Am I missing something? Are these different versions of Photoshop?

    Hi,
    No it's the same Photoshop .Photography program is just a temporary promotion pack with Photoshop and Lightroom  and it can end anytime .So you can buy Indesign and photography to have Indesign,Photoshop and Lightroom .
    Regards,

  • Make user extended attribute available on the user report

    Hi,
    We have created a few user extended attributes for the client. The quyestion is how to make them available for select in a user report. Currently we configured a user report for approvers "approver report" and save the XML as TaskTemplate. How can I modify the xml to display user extended attributes? I tried the following but it did not work:
    In the task template xml, add the attribute (e.g., department) into
    <Attribute name='attrMapField'>
    <Map>
    <MapEntry key='attributes.department' value='Department'>
    </Map>
    </Attribute>
    <Attribute name='attrsToDisplay'>
    <List>
    <String>attributes.department</String>
    </List>
    </Attribute>
    Thank you.

    We will need to edit the TaskDefinition object named �User Report� with the id
    �#ID#TaskDefinition:UserSummary�.
    1) Insert the following xml directly above the field named �queryAttr.MemberObjectGroups.enabled�:
    <Field name='queryAttr.employeeId.enabled'>
    <Display class='Checkbox'/>
    </Field>
    <Field name='queryAttr.employeeId.operator'>
    <Display class='Select'>
    <Property name='title' value='Report only users whose employeeId '/>
    <Property name='noNewRow' value='true'/>
    <Property name='nullLabel' value='Please Select'/>
    <Property name='valueMap'>
    <ref>conditionsList</ref>
    </Property>
    </Display>
    <Expansion>
    <cond>
    <eq>
    <ref>queryAttr.employeeId.enabled</ref>
    <s>true</s>
    </eq>
    <ref>queryAttr.employeeId.operator</ref>
    <null/>
    </cond>
    </Expansion>
    </Field>
    <Field name='queryAttr.employeeId.value'>
    <Display class='Text'>
    <Property name='noNewRow' value='true'/>
    </Display>
    <Expansion>
    <cond>
    <eq>
    <ref>queryAttr.employeeId.enabled</ref>
    <s>true</s>
    </eq>
    <ref>queryAttr.employeeId.value</ref>
    <null/>
    </cond>
    </Expansion>
    </Field>
    2) Inside of the defvar named �attrMap� you will need to insert the following text:
    <MapEntry key='attributes.employeeId' value='Employee ID'/>
    3) Save the modifications.
    4) Check the "User Report" your attr will be available

  • Out of scope error while attaching the attribute set and the operating unit

    Hi,
    Am getting the out of scope error when am trying to attach the attribute set "/oracle/apps/fnd/attributesets/HrOperatingUnits/OperatingUnitName_Transient"
    and the operating unit lov "/oracle/apps/fnd/multiorg/lov/webui/OperatingUnitsLovRN" from my page in JDeveloper.
    Can anyone help?
    Thanks

    Mostly
    It would just be a warning message you can proceed with it there are no issues.But if its an error please do as mentioned by Reetesh.
    Thanks
    AJ

  • Self-registration and the WWSSO_API_USER_ADMIN package

    I am using the wwsso_api_user_admin package to build a self registration JPDK portlet for my client to be run on the Portal Welcome page and I have a few questions. Just so you know, I am using Oracle 8.1.7.1.1 and Oracle Portal 3.0.9.8.2 all running on Win 2000.
    1. The package spec ssoumgt.pks is not clear as to which warning codes and exceptions can be returned or raise from create_user. All the other procedures in that package have explicit comments about which warnings and/or exceptions can possibly occur, but create_user does not. It makes sense that it would return OK_SO_FAR and DUP_USERNAME, but are there any other return codes and/or exceptions?
    2. The package spec ssoumgt.pks also states that the create_user procedure "will raise an exception if a dupicate user is created." During my unit testing, I only recieve a DUP_USERNAME warning when I try to register a username twice. Is there a similar exception, and if so, what causes it to be raised? The phrase in the spec also makes it sound like the duplicate username is created anyway before the exception or warning is returned. I suspect that the package has change, but someone forgot to update the comments in the package spec. Can you clarify this?
    3. In Portal, under Login Server Administration, I have set the Login Server configuration to disallow passwords to be the same as the user name and required passwords to contain at least one numeric digit and one character. However, these restrictions are not enforced by the create_user procedure in the wwsso_api_user_admin package. I can even supply a NULL password and the account is created in the login server. Is this a bug or am I not getting something?
    Thanks,
    Dennis

    are you working with 9iAS portals?
    portal_sso (or portal30_sso) schema was used to be in the 9iAS system. in the 10g family, it was replaced by orasso which resides in the infrastructure db.
    AMN

  • Air 3.6 and the fl package

    I just switched over to air 3.6 in Flash Professional. I'm compiling with air 3.6.0.5990 which I believe is the latest version. When I start a new Actionscript 3 file, and include a TLFTextField, and then compile for Air for IOS the app won't run. The initial loading screen (e.g. default.png) comes up, and then I simply get a blank screen and nothing happens. If I take out the TLFTextField, then it works (for example, if I draw a simple circle on the stage just to test if it is rendering). My main application I develop will not run as well. I get the same issue - simply a blank screen. It's a frustrating problem as there isn't really a way to debug - if an incorrect element (like TLFTextField) is included it simply doesn't run. I took all of the TLFTextField elements out of my app and it still just has a blank screen on IOS. Things work fine with Air 3.4.
    I've noticed that all the fl package elements have been removed from the actionscript documentation. I use many controls from the fl.controls. package, for example. Has the entire fl package been deprecated? (it's frustrating it's simply gone from the documentation as well - I haven't been able to find any indication anywhere why it has been removed or even that is has been removed. It's just gone. It feel a little twilight zone'ish - feels like I was the only person using it lol, even though Flash CS6 has an actual UI to pull those elements in).
    Does the entire fl package not work any more?
    Any suggestions on how to debug this type of situation and find other items like TLFTextField that no longer work, so that I can remove them and get my apps working on IOS?
    Any suggestions on what I can use to replace all the fl.controls elements I am currently using?
    thanks
    Tom

    well i got my solution and writing the solution may be it will help some one
    the actual problem with my application is am using TLFTEXTFIELD and TLFTEXTFIELD directly not supported in air sdk 3.7 so you can remove the tlftext or use this solution
    For Flash CS6, copy this swc: /Applications/Adobe Flash CS6/Common/Configuration/ActionScript 3.0/libs/flash.swc
    Into my Flash Builder project using these steps:http://interactivesection.files.wordpress.com/2009/06/include_fl_packages_in_flex_builder- 1.jpg
    and then use this link http://curtismorley.com/2013/03/05/app-used-to-work-with-air-3-2-or-3-4-doesnt-work-with-a ir-3-5-or-3-6/#comment-241102

  • Flash CS6 and the old Packager for iPhone?

    Hi,
    I was wondering: now that it's possible to select an Air SDK version in Flash CS6, would it also be possible to use Flash CS6 with the old 'packager for iPhone' that came with Flash CS5?
    I know, I know, I should get rid of that old thing, but reality is that I used packager for iPhone to create one of my first apps and now I can't update to a newer version of Air. Apple doesn't allow that, because existing users wouldn't be able to update anymore.
    It would be great if CS6 can work with the old Packager for iPhone.
    Does anyone know the answer to this?

    Too bad... I was hoping to kick my old CS5 installation out of the window...

  • Extending a network and the new guest access feature

    Hi-
    Currently, I have 3 of the 802.11n Airport Extremes—One creating the network, and two extending the network.
    I would like to get the new feature that allows you to setup guest access---
    My question: Will I be able to purchase ONE of the new Airports, setup guest access and extend it using the older Airports, or will I have to buy three of the new Airports to make this work….
    Thanks for any help or advice!

    It would seem almost certain that the older AirPort Extreme base station (AEBS) would not extend both the normal network and the guest access network. You should be able to extend the normal network.

  • Difference among Model node creation, model attribute creation and the field creation in database through AET?

    Hello Friends,
    To display the field on the View, we can create the field via 3 ways:
    1) By creating the model attribute
    2) By creating the model node using the GENIL object and using its attributes in view
    3) Creating the field in Database structure using AET
    But, i am not aware that in exactly what kind of business scenarios we use the above 3 methods to create the field.
    Could you help me out to clarify the same.

    Hi Dev,
    1). By creating the model attribute: we will use this option in case of the field is avaibla in stanadrd sap system. It might be in another under child context nodes and we will use BOL relations to access the attribute.
    2).  By creating the model node using the GENIL object and using its attributes in view: We will use this option incase of there is no standard provision to use. Means you want to create any custom assignment block with custom attributes then you can go for this option. More over we can use AET to create custom genil object. We have an option Create Table in AET.
    3).Creating the field in Database structure using AET: We will use this option incase of there is no attribute in database relevant to your requirement then we will go for AET enhancement.
    Hope this might give you little clarification..
    Best Regards,
    Dharmakasi.

  • [BUG] Photoshop CS5 Extended 64-bit and the UAC

    HI
    Installing all the updates of the suite of Photoshop CS5 Extended 12.LS4 32-64 bit on Windows 7 Ultimate 64-bit, you must completely disable the UAC to start Photoshop CS5 Extended 64-bit. Why?
    THANKS
    BYE

    That's a fair question.  Mine's not broken and I have not had to reinstall it, so I can't answer from personal experience.
    General advice:  Make a good backup and set a restore point before trying any restorative activity.
    Also search this forum for something like "registry permissions"...  I seem to recall at least one thread in early to mid 2010 where someone identified parts of the registry on which to alter permissions to solve some problem or another.
    -Noel

  • I have a problem with word. I trashed it yesterday by mistake. So I downloaded once again the office software 2011 package but it still doesn't work. Everytime I try to open a document it says "error" and the office package appears twice on my taskbar

    This is what it says
    Microsoft Error Reporting log version: 2.0
    Error Signature:
    Exception: EXC_BAD_ACCESS
    Date/Time: 2014-02-23 07:52:59 +0000
    Application Name: Microsoft Word
    Application Bundle ID: com.microsoft.Word
    Application Signature: MSWD
    Application Version: 14.2.0.120402
    Crashed Module Name: libobjc.A.dylib
    Crashed Module Version: unknown
    Crashed Module Offset: 0x000044a7
    Blame Module Name: MBURibbon
    Blame Module Version: 14.3.9.131030
    Blame Module Offset: 0x0001007c
    Application LCID: 1040
    Extra app info: Reg=en Loc=0x0410
    Crashed thread: 0

    You might want to try asking your Office for Mac question in the Office for Mac forums located here: http://answers.microsoft.com/en-us/mac

  • Extended Attributes and Custom Sections

    Hi,
    When we update formulation specifications we are finding that the extended attributes and custom sections are not automatically updating in the ingredient output. Is this how the system is designed? Is it possible to get the ingredient outputs to update automatically?
    Thanks.

    Hey Belinda,
    Can you provide a more detailed scenario of what you are trying to accomplish?
    For example,
    If extended attribute "Brix" exists on the raw material specification (in the simple extended attributes grid or inside a custom section) and is tagged as "distinct" and "Is Design Attribute" on the Extended Attribute template in ADMN then anytime you use that raw material in a formulation "Brix" will appear on the Ext Data tab > Extended Attributes section of the output popup. When multiple raw materials contain the "Brix" extended attribute then the Brix value displayed on the output popup will be calculated by the system.
    A few key points that may be causing your problem:
    1. Custom Sections on the raw material are not automatically pulled and placed on the output popup. Only distinct attributes are pulled out and placed in the simple attributes grid on the output popup.
    2. Custom data is not pulled from raw materials and placed onto the formulation specification > ext data tab. Calculation of theoretical values only occurs on the output popup
    3. When an input is used inside a formulation we take a snapshot of that material, this allows you to perform "what if" scenarios. If changes are made to the raw material (for example an extended attribute was added or a nutrient value was edited), the formulation specification must be refreshed so it will pull the new updated values.
    Version 6.1.0.x allows for specification templates that will help with the auto creation of custom data on the formulation specification, output popup and output material specification.
    Thanks
    Kelly
    Edited by: user754372 on Oct 16, 2012 10:12 AM

  • Impact of deleting 'Prod Cat' from extended attributes on the SC approval

    Hi All,
    I have one question regarding 'Product Categories' in extended attributes.
    We have defined 'Product Categories' as extended attributes at the company level.
    The users are able to create SC with the Product Categories which are assigned as Ext attributes of the company.
    We wanted to remove one product category from the extended attributes of the company, because we did not want the users to create SC for that product category anymore.
    However, the users had already created SC using that Product category and the SC are in approval process.
    I want to know that if we remove that product category from the extended attributes, will it affect the existing SC (under approval process) which were created using that product category.
    Will there be a problem in SC approval & SRM PO creation, if that product category is removed.
    Please help.
    Regards,
    Ruchika

    Hello Ruchika,
    As written by Sanjeev, i don't think it will impact flow process for SC or PO.
    But, to be sure, make some tests on your development environment:
    - create a SC with Product Category to test,
    - delete this Product Category from tab "Extended attributes",
    - approve/reject the SC,
    - when SC approval WF is over, try with a Purchaser from Purchasing Group having responsability for this Product Category to modify PO (if authorized by user profil or customizing),
    - order the PO,
    - approve/refuse the PO,
    - make modifications on PO approved (if authorized by user profil or customizing).
    Nevetheless, in case of SC rejection, check if SC creator can delete the SC: maybe not due to Product Category deletion.
    Regards.
    Laurent.

  • Trying to access a private attribute of a class in the same package

    Hi,
    I have defined a private attribute in a class
    class Sample {
         private String newString = "hello";
    in another class I am trying to access newString attribute using reflection api. It is throwing hte following exception
    java.lang.NoSuchFieldException: value
         at java.lang.Class.getDeclaredField(Unknown Source)
         at refletionpack.mainclass.main(mainclass.java:20)
    any ideas how to do it exactly? Should stringclass.getDeclaredField("value")
    have the field name(newString) as a parameter?
    public class mainclass {
         static Class stringclass = Sample.class;
         static Field stringCharsField = null;
         public static void main(String args[]){
              try{
                   stringCharsField = stringclass.getDeclaredField("value");
                   stringCharsField.setAccessible(true);
                   char[] stringChars = (char[])stringCharsField.get("newString");
                   System.out.println(stringChars);
              }catch(NoSuchFieldException ex){
                   ex.printStackTrace();     
              }catch(IllegalAccessException ex){
                   ex.printStackTrace();     
    }

    Hi,
    to obtain the value of your private attribute you have to change two lines of code. At first you have to tell your class and not the field that private attributes can be accessed by using stringClass.setAccessible(true);After that you have to specify the name of the attribute to obtain which is called newString in your class which results in
    stringCharsField = stringClass.getDeclaredField("newString");For the invocation of the method get(Object) you need an object first that is an instance of the analyzed class by calling Object sample = stringClass.newInstance.
    Then you can retrieve the actual data of the requested field by calling String string = (String) stringCharsField.get(sample);A simpler solution would be when you make your attribute newString static. Then you can omit the necessary object for the retrieval of the attribute data and the line would result in String string = (String) stringCharsField.get(null);.
    For further issues considering reflection you should read the appropriate API.
    Hope it helps.

  • Cp leads to  "error processing extended attributes: Argument list too long"

    With certain PDF files to which I've added a lot of extended attributes (using Skim.app, a PDF reader/annotator which stores its notes in extended attributes), Chronosync and Finder drag-drops don't preserve extended attributes like they're supposed to (i.e. the notes aren't viewable on copies of the document). When I use cp to do they copying, the following message appears in system.log:
    error processing extended attributes: Argument list too long
    Googling it returns no results

    Hi Derick,
    error processing extended attributes: Argument list too long
    I have no idea why you get this error when copying a file...
    There is a max size for each extended attribute (about 3800bytes), and if I try to create (by using a simple C program) an attribute larger than this limit then I get "Argument list too long" error. But in your case you are trying to make a copy of an existing PDF file whose extended attributes should be smaller than the limit, of course (Skim has no magical power of creating an attribute larger than the limit; if the note is too large then I guess Skim just splits the note into two or more attributes).
    Q1: do you get the error only if you (try to) copy a PDF file with large notes? or you also get the error for a file with only small notes? How about a PDF file with many small notes?
    Q2: are you copying the PDF file to external volumes? If so, are you sure it is HFS+? What happens if you copy the PDF file to the same internal disk volume, for example
    cp your.pdf tmp.pdf
    PowerMacG4, PowerBookG4, iMac(C2D)   Mac OS X (10.4.9)  

Maybe you are looking for