summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-10-29 02:59:22 +0000
committerAndrew Tridgell <tridge@samba.org>1997-10-29 02:59:22 +0000
commit87ea4b93ecde16a4156c9c307ad477537a837ef4 (patch)
treec377ec3ee10eb8093cb8159348820d2b291442e2 /source3/include
parentcb6941a19390113cbe61f436e74c9d969afd00d0 (diff)
downloadsamba-87ea4b93ecde16a4156c9c307ad477537a837ef4.tar.gz
samba-87ea4b93ecde16a4156c9c307ad477537a837ef4.tar.bz2
samba-87ea4b93ecde16a4156c9c307ad477537a837ef4.zip
damn. We need root privilages to do semaphore operations even if we
have done the semget() as root. The problem is that become_root() and unbecome_root() are so slow! I've provided two options. The default is to set the semaphores (but _not_ the shared memory) world writeable so that a become_root() isn't needed. Otherwise you can define SECURE_SEMAPHORES and pay the performance penalty. (This used to be commit 2bbd8d2cbc5cf1901859a181bc9ec29822995e51)
Diffstat (limited to 'source3/include')
0 files changed, 0 insertions, 0 deletions