search for: attrlist

Displaying 10 results from an estimated 10 matches for "attrlist".

Did you mean: attr_list
2007 Oct 16
1
lchmod for osx (was: Symlinks in OS X (10.4.1))
...this to check the uint32_t works there too (I have a powerpc). #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/attr.h> /* !!! */ #include <sys/stat.h> #include <unistd.h> int my_lchmod(const char *path, mode_t mode) { struct attrlist attrList; uint32_t m; /* manpage is wrong! not mode_t, but uint32_t is required */ memset(&attrList, 0, sizeof(attrList)); attrList.bitmapcount = ATTR_BIT_MAP_COUNT; attrList.commonattr = ATTR_CMN_ACCESSMASK; m = mode; return setat...
2008 Jun 20
1
supporting HFS+ attributes and forks on a Linux rsync server?
...ips/rsync.html to patch and install rsync 3.0.2 to support HFS+ attributes and forks on the client. I was assuming the Linux box needed the same version, and so tried compiling the patched rsync but got the following: syscall.c: In function `get_create_time': syscall.c:406: storage size of `attrList' isn't known syscall.c:409: `ATTR_BIT_MAP_COUNT' undeclared (first use in this function) syscall.c:409: (Each undeclared identifier is reported only once syscall.c:409: for each function it appears in.) syscall.c:410: `ATTR_CMN_CRTIME' undeclared (first use in this function) syscall...
2004 Jun 14
2
Member Server in Active Directory
...libads/ldap.c:ads_join_realm(1336) ads_add_machine_acct: No such object ads_join_realm: No such object I only have admin rights for an ou of the Active Directory. Here is a Windows LDP search of my ou: ldap_search_s(ld, "DC=pwr,DC=int,DC=edited,DC=com", 2, "(ou=SAMO)", attrList, 0, &msg) Result <0>: (null) Matched DNs: Getting 1 entries: >> Dn: OU=SAMO,OU=Mediterranean Coast Network,OU=PWR,DC=pwr,DC=int,DC=edited,DC=com 2> objectClass: top; organizationalUnit; 1> ou: SAMO; 1> description: SAMO; 1> distinguishedName: OU=SAMO,OU=Medite...
2013 Sep 29
2
[LLVMdev] Tblgen and computed expressions
...do is compute a different value depending on which '-target-cpu <cpu>' option was selected for 'clang'. The "[{...}]" syntax should work for this, but I haven't been able to convince TableGen to do what I want - it maybe a problem with the context I have: let attrList = [Attr<2, id1>, Attr<2, id2>] in { ... } I want to be able to replace the value '2' with the value returned from a function-call. I managed to get the opcode name issue resolved in a neat way using 'multiclass' and 'defm' controlled by a predicate, and this wo...
2015 Feb 02
0
Directory Corruption Problem
...h after research has led me to believe that it is a permissions error. If I try to search for the GUID of the RpcServices object by GUID using ldp.exe I get this error. ***Searching... ldap_search_s(ld, "<GUID=5c62034b-a978-4d75-8102-e8c94f0eb780>", 2, "(objectclass=*)", attrList, 0, &msg) Error: Search: Operations Error. <1> Server error: acl_read: cannot get descriptor of CN=bynumber,CN=rpc,CN=ypServ30,CN=RpcServices,CN=System,DC=CORP,DC=MYDOMAIN, DC=COM: insufficient access rights Result <1>: acl_read: cannot get descriptor of CN=bynumber,CN=rpc,CN=ypSe...
2007 Aug 24
0
rsync patch to add Apple keychain support
...KeychainFindGenericPassword(CFTypeRef keychainOrArray, UInt32 serviceNameLength, const char *serviceName, UInt32 accountNameLength, const char *accountName, UInt32 *passwordLength, void **passwordData, SecKeychainItemRef *itemRef); OSStatus SecKeychainItemFreeContent(SecKeychainAttributeList *attrList, void *data); static int get_secret_from_keychain(int module, char *user, char *secret, unsigned secretmaxlen) { char accountname[100] = ""; char* modulename = lp_name(module); strcat(accountname, modulename); strcat(accountname, "-"); strcat(accountname, user);...
2013 Sep 27
1
[LLVMdev] TableGen and computed expressions
...do is compute a different value depending on which '-target-cpu <cpu>' option was selected for 'clang'. The "[{...}]" syntax should work for this, but I haven't been able to convince TableGen to do what I want - it maybe a problem with the context I have: let attrList = [Attr<2, id1>, Attr<2, id2>] in { ... } I want to be able to replace the value '2' with the value returned from a function-call. I managed to get the opcode name issue resolved in a neat way using 'multiclass' and 'defm' controlled by a predicate, and this wo...
2013 Oct 01
0
[LLVMdev] Tblgen and computed expressions
...do is compute a different value depending on which '-target-cpu <cpu>' option was selected for 'clang'. The "[{...}]" syntax should work for this, but I haven't been able to convince TableGen to do what I want - it maybe a problem with the context I have: let attrList = [Attr<2, id1>, Attr<2, id2>] in { ... } I want to be able to replace the value '2' with the value returned from a function-call. I managed to get the opcode name issue resolved in a neat way using 'multiclass' and 'defm' controlled by a predicate, and this wo...
2013 Sep 22
0
[LLVMdev] TableGen and computed expressions
Martin hi. I encountered a similar problem, and made a solution for it. The solution is a tblgen enhancement, and enables tblgen code expressions to be dynamically evaluated. It works as follows: 1. Code expressions have 'special runtime evaluation' expression (very similar to strings in ruby), e.g.: code c = {[ My name is #{injected}. }. 2. I have added another command line switch for
2013 Sep 09
2
[LLVMdev] TableGen and computed expressions
Hi LLVMDev, I am revising an existing LLVM backend for a new variant of our CPU architecture. I have looked at other targets, and the approach used by Hexagon seems to suit most of my needs quite well, so I am using Predicates to enable/disable instructions for the architectures. This works very well for disabling old instructions, and enabling new instructions. For the remaining instructions