Age | Commit message (Collapse) | Author | Files | Lines |
|
metze
|
|
This fixes two issues pointed out by Andrew. It adds a runtime
uwrap_enabled() call that wraps the skips needed for uid emulation. It
also makes the skip in the directory_create_or_exist() function only
change the uid checking code, not the permissions code
|
|
This library intercepts seteuid and related calls, and simulates them
in a manner similar to the nss_wrapper and socket_wrapper
libraries. This allows us to enable the vfs_unixuid NTVFS module in
the build farm, which means we are more likely to catch errors in the
token manipulation.
The simulation is not complete, but it is enough for Samba4 for
now. The major areas of incompleteness are:
- no emulation of setreuid, setresuid or saved uids. These would be
needed for use in Samba3
- no emulation of ruid changing. That would also be needed for Samba3
- no attempt to emulate file ownership changing, so code that (for
example) tests whether st.st_uid matches geteuid() needs special
handling
|
|
Jeremy.
|
|
|
|
and it still doesn't build you know it's messed up.
Jeremy.
|
|
We should not use c++ reserved names in source4 too.
metze
|
|
metze
|
|
|
|
|
|
|
|
Conflicts:
source4/Makefile
|
|
Conflicts:
source4/Makefile
|
|
|
|
Current glibc libraries include a function called init_module(). If we
use the same name, then a dlsym() can find the glibc function if the
module doesn't have an initialisation function.
In ldb, none of our modules have an init_module(), so we end up calling the libc
functions with bogus arguments.
(This used to be commit 1b0621068998590e7b1e9528b78744dcd2cd5909)
|
|
(This used to be commit 18a2bcfa9e7d4718648f401821259d1dbf5a3ff4)
|
|
(This used to be commit 37425495f392a2d0122a93aa2c42758eab7dab5a)
|
|
(This used to be commit 72b9d6c03661d72e83a5d60d43b75bb9bd5f5285)
|
|
(This used to be commit 5bb9f041f47a1b7e03c3dc02e38546bc43bcc856)
|
|
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
|
|
include/ now only contains build system related headers, all other headers are
now near the source code they're related to.
(This used to be commit 6890a01dbfc6d8041a88ef5c6be52dfcd046fe80)
|
|
(This used to be commit 9647f860bdd5c0a74583e886182bd041a45e7655)
|
|
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
|
|
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
|
|
_NORETURN_ and _WARN_UNUSED_RESULT_.
(This used to be commit 44248f662f0b609dad6a7b437948f12d661a28f7)
|
|
(This used to be commit ab3d57394630cefc1fefe859c8bd3d56f6e63695)
|
|
handle NO_CONFIG_H in libreplace
metze
(This used to be commit 909d736a4bf5a7adfcd64eecf6bb2a92211c6f96)
|
|
metze
(This used to be commit 6bdb329da5771b4be792d8889d3ece8f93a495b0)
|
|
by samba's configure.
this could happen when you have done a standalone build in
lib/replace/, lib/talloc, ...
metze
(This used to be commit d8e88386748d3952c6a82726c9d36cad870992fd)
|
|
(This used to be commit 77c442cd469ba881215e025c87ce632c876eb617)
|
|
(This used to be commit 1adf65b4d7c5d2d4f65d4b28575bdf2368a42139)
|
|
(This used to be commit fa47301c0ea482612f9f452b027aa2787b3f93a7)
|
|
(This used to be commit c079cedb084d621c5a0aac59310b237ba375df20)
|
|
automatic dependencies
(This used to be commit 6598efc6b302984d0b26b0c76a4b7107f5feba21)
|
|
Simplify va_copy() replacement code a bit
(This used to be commit a5c87360a7f14a90b831ea372277f4f89ee4c5f1)
|
|
(This used to be commit bccfddcafa1fdb56392e2301bbd404964ad9f7c3)
|
|
(This used to be commit 7146c1600f29c349e5bb78f810e7e170b535dd37)
|
|
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
|
|
(This used to be commit 430c6516d383bfd7f27287394bf8eef9f174b3e6)
|
|
tells static analysers that it behaves like abort()
(This used to be commit 3cde18beaed736a48e195550c7e423bccc95c820)
|
|
(This used to be commit 206d182cfb78ec2258ceca1be2dd5e3c06649312)
|
|
(This used to be commit 1ffb82a7596f989c90df69573083a2c2e28f8808)
|
|
(This used to be commit 1a16a6f1dfa66499af43a6b88b3ea69a6a75f1fe)
|
|
(This used to be commit 98c4c3051391c6f89df5d133665f51bef66b1563)
|
|
(This used to be commit 4fced6dbbdc06233e5cf69f90c099fafee9baa34)
|
|
Remove some headers from include/includes.h (they're now only included
in the file they are used)
(This used to be commit 7213b7498eacac2c2cd03cf6aace376ce153cc7c)
|
|
Prototypes are now spread over multiple headers, usually one per subsystem.
This change is required to allow proper header dependencies later on,
without recompiling Samba each time the mtime of any source file changes.
(This used to be commit 3da79bf909f801386a52e6013db399c384d0401c)
|
|
-D_PUBLIC_=
(This used to be commit 6c6bd77ec2eb7d47e1f2c54f939d479e7d0fd7d9)
|
|
all this changes really help ccache to speed up the samba4 build:-)
metze
(This used to be commit 180a79d1036e54fc0c50572b820818e9aafa28e9)
|
|
(This used to be commit 2d655f05285a86bb1bbb882e4dd843def15c9dfa)
|