smb3.c: another fix for pattern matching. Patterns can include '<' and '>'
instead of '*' and '?'. Treat any pattern with angle bracket as
star patterns
afslogon.c: instead of retrying the username lowercased if it is all
uppercased. retry the username lowercased if it was not already
lowercased. this captures the mixedcase username case.
afskfw.c: If Leash is configured to not import tickets from the MSLSA,
neither should we.
cm_vnodeops.c: If the second to last component of a path is a symlink and
the last component cannot be found, return NOSUCHPATH instead of
FILE_NOT_FOUND.
(cherry picked from commit 641c2b17efbffa523818a950761e612e9fc6f5f7)
afskfw.c: fix cross-realm token acquisition in ANDREW vs CS CMU case
cm_aclent.c: when ACL's timeout, remove them from the associated
cm_scache_t object's randomACL list and place them on the end
of the ACL LRU queue
correct tgtLifetime to be unsigned
smb3.c: fix case sensitive matching
(cherry picked from commit 09feb1be1711dbbe053b572915df4384f488eb0e)
mem* funcs now declared in sys/systm.h with a different prototype so there's a conflict. (but delcared means they exist, so this is fine)
(cherry picked from commit c92132eba3250d3ef3647b578a363be970496597)
don't VOP_INACTIVE if we intend to keep using the inode, the refcount will go
bogus
(cherry picked from commit a6f560b80575a246b4ee347622f1fd3f6fdd1420)
* The list of ACL entries was becoming corrupted because the function
which obtained a free entry was doing so without the appropriate lock
being held.
* Changed the default @sys name list to "x86_win32 i386_w2k i386_nt40"
for 32-bit x86 systems. The default for itanium will be "ia64_win64"
and "amd64_win64" for amd 64-bit processors.
(cherry picked from commit 516614090190f34cb74ec741cf06f86384bff4d1)
The list of ACL entries was being corrupted because the function
which obtains a free ACL entry was doing so without the appropriate
lock being held.
Returning Not A Directory is not the right thing to do when we are
attempting to resolve a path if the error is found on one of the
intermediary path components. Instead return No Such Path or
No Such File as appropriate.
(cherry picked from commit ff3436446e1c8447d0f9703b088c6d65c6845aa0)
compare vattrs against VNOVAL, not -1
fixes mode setting now that modes are 32 bits
(cherry picked from commit e86eb73e30fe492c8be99a0a7a4788ec1b136ead)
make things so file copies from src/libafs don't happen; change how libafs_tree
is done
(cherry picked from commit 187f26a3afe805180268322d93dd7e01974c5fb1)
make things so file copies from src/libafs don't happen; change how libafs_tree
is done
(cherry picked from commit 782109a29bd751a7681e3a31aeaa077e880208c3)
FIXES 17337
"the latest 2.6 version of "tryflushdcachechildren" is probably
good enough for 2.2/2.4 as well. further, we can just call
d_invalidate() to make things less complicated. unification
is good.
its seen limited testing here under 2.4/2.6."
(cherry picked from commit 72ea4e2c690d28b6c5c464368099b49dac847642)
"ok, if you ever drop
dcache_lock you need to go to restart (i think that's pretty clear).
shrink_dcache_parent() _might_ reduce a dentry count to 0. in the
previous version, it seemed to make the assumption that this would
always happen. if shrink_dcache_parent() is unsuccessful and the
dentry is a directory, we cant restart. we would just find the
the dentry again and do the same thing over (we could always d_drop
but you shouldnt do this to active directories -- see d_invalidate).
if we find a busy dentry, we abort all processing for this inode.
going back to restart would find the same busy inode. (i suppose
we could use a d_flag to keep track of which dentry has been shrunk.
this has other trouble, like who resets the flag and when?) since we
only do this for directories and d_alias typically only grows due to
soft/hard links (as far as i can tell) this scheme seems reasonable."
(cherry picked from commit 73437ee7d469765df30285369301e3907fee0a3c)
"The new buffer code (which I wrote) did not deal
with dcache object re-use, as I had conflated the concepts of "dcache *
reuse" and "dcache slot reuse".
This patch should fix this problem. It now stores the dcache index (aka slot number,
which is the same as the numeric part of the cache file's filename) in the
buffer instead of the ephemeral struct dcache pointer."
(cherry picked from commit 8ccd2d91d89fc3ed0170a458853ec95ff274c87d)
Doug Engert reports that large tokens are corrupted when being sent
using RX. This patch fixes two bugs which prevent the transmission
and receipt of multiple packet exchanges.
(cherry picked from commit f42701022203605f8509b106fe8ca1677666aaa9)
Rework the reference counting of the smb_vc_t objects to use
smb_ReleaseVC and smb_HoldVC. Add missing counts for references
from waiting locks.
Fix cm_ioctl.c to allow it to compile once again.
(cherry picked from commit eabe2b6f77da6913b4a6bd51220708c363762fe6)