modify the write-lock permission test so that the UnixMode bits do not
subtract PRSFS_WRITE from the rights when testing PRSFS_WRITE | PRSFS_LOCK.
PRSFS_WRITE implies PRSFS_LOCK so add it
Add new registry value "DeleteReadOnly" to permit deletion of read-only
files. The default is 0. Set to non-zero value to activate.
(cherry picked from commit 290b05b6b6e13fd93d40a8c021f0d8fdf697f7af)
FIXES 40604
Test whether Linux kernel builds work at all before going into specific
builds so that we can fail earlier with a better error message. Try to
put more errors from the kernel build into config.log.
(cherry picked from commit 182a18931a3fc696a53288dbd6fcf04e109f785b)
basically, if the issue is really expired tokens then we force the server to tell us that instead of that our older connection is still using the old tokens for some reason, by letting a new connection happen first
(cherry picked from commit b745079fb276da810e0b96c7b94be5cb77aebee6)
When the Unix mode bits do not include the write bit (0200), then the
file is reported to Windows as read-only. This also prevents the
acquisition of write-locks. It should also prevent deletion but the
code in cm_HaveAccessRights() did not remove the PRSFS_DELETE privilege
from the reported rights.
(cherry picked from commit 56d5e6970d27a5c99c04b105481bcf1d1bc3db1e)
The following message is now logged to both the BosLog and the AuthLog
at startup.
WARNING: kaserver is deprecated due to its weak security properties.
Migrating to a Kerberos 5 KDC is advised.
http://www.openafs.org/no-more-des.html
(cherry picked from commit 0995d4d9b3059569d1fa2ed330982e4dfe021cac)
FIXES 50576
replace 'try' with 'try_init' and declare 'try_init'.
'try' is a reserved word on some compilers. not sure how this code
was compiling on MacOS X and Windows as 'try' was not declared.
(cherry picked from commit 47b4f514cadb815fff7be99726911599cacfb287)
why the heck would it be a good idea to rewrite the BosConfig while we are starting, exactly?
====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
why the heck would it be a good idea to rewrite the BosConfig while we are start
ing, exactly?
(cherry picked from commit b2601916f6b3a95d5adcaf0091232acc759870df)
FIXES 46937
"vos release" per default does an incremental dump.
volser-dump-validate-input-20060417 ends up with keeping dead vnodes and
data in the remote RO-volume. This patch corrects the behavior for
RO-volumes.
See ticket for extensive discussion.
(cherry picked from commit 7a2d34be17d3ea1a24ab1362698de212c7d8008d)
FIXES 48959
remove synthetic event to undo timeouts of vlservers we "haven't talked to yet"
(cherry picked from commit c4adc63872d720b43d2ff99fd780046a4ba9883b)
make vldb_check able to repair at least some kinds of damage
run it on a vldb which does not have a server operating live on it
verify the result with vldb_check before using.
(cherry picked from commit d5583808e85ff8688716ce800c3eab5543582095)
wow, this is special
existed forever but only when we stopped leaking packets did it become a problem
anyway, don't free packets and forget to reduce the number of packets in play
(cherry picked from commit 112604e9c31cba4f9605b6b53918aafa8cac77d0)
Neale Ferguson contributed the assembler.
The false illusion of security some people want to play under is usually good for wasting a few hours; it was here. making the sys_call_table read nly for real of course fixes it, let's just hope keyrings come along before then on such platforms.
(cherry picked from commit b81763506fdf29f3df66d811e2d299cc4c9acec0)
everyone else thinks ticketLen is 32 bits. contrary to what arby's says, different is not necessarily better.
(cherry picked from commit 45425b2f222d5c0a8dd56695587b6cdeba581b6a)
Be more liberal when parsing ThisCell. Accept and ignore leading and
trailing whitespace and anything after the first whitespace character on
the first line. Return an error for a read error or for an empty cell
name.
(cherry picked from commit 769f4e49b60b15b27eb2898a5b28c2d99fc0238c)