summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r15186: Introduce ISDOT and ISDOTDOT macros for testing whether a filename isJames Peach4-13/+10
"." for "..". These express the intention better that strcmp or strequal and improve searchability via cscope/ctags. (This used to be commit 7e4ad7e8e5ec266b969e3075c4ad7f021571f24e)
2007-10-10r15185: Force all NTVFS modules to provide a critical sizes structure soJames Peach1-2/+3
the version information can be checked when modules are registered. (This used to be commit 95eb55806339fc5409c0adf137ebd5bffd7098ac)
2007-10-10r15118: - do access checks also when the owner and group are not changedStefan Metzmacher1-19/+28
- only call chown/fchown when we want to change something metze (This used to be commit 46b3096d938331a2339a876649bc6cbfec883cb2)
2007-10-10r15117: add more commentsStefan Metzmacher1-1/+7
metze (This used to be commit d76f3e2fb61317633876afc90c1cea1130e58dea)
2007-10-10r15078: add TODO about setting the full ACL with an NTTRANS_CREATEStefan Metzmacher1-1/+1
metze (This used to be commit bd2c899d83615066fbd1332495a4610eeea8f8ee)
2007-10-10r15071: fix typoStefan Metzmacher1-1/+1
metze (This used to be commit fde8922947551f5f7d50607c5c83feba062138c8)
2007-10-10r15069: - don't crash on a NULL aclStefan Metzmacher1-1/+9
- add the correct access checks for changing sd->group and sd->dacl metze (This used to be commit 2a61f65cd4084bf690caccf87efaf46551a13aee)
2007-10-10r15057: fix access masks for getting and setting security_descriptorsStefan Metzmacher2-8/+25
I'll add some torture tests later... metze (This used to be commit ce045f4df37b6740f2bf849fd06ab51c682ea0b7)
2007-10-10r15056: w2k3 gives NT_STATUS_ACCESS_DENIED instead of NT_STATUS_ACCESS_VIOLATIONStefan Metzmacher1-4/+2
metze (This used to be commit 5c1d96b36f14538360d90afc76ddba59d4feee1b)
2007-10-10r15048: started on the server side implementation of oplocks. The code is notAndrew Tridgell2-18/+37
functional yet, I'm committing so it doesn't diverge too much from other peoples work. It is disabled by default. (This used to be commit ba0b8a218dfe1ef6cdf7de724fb30650301369dd)
2007-10-10r14990: talloc_reference() can failStefan Metzmacher1-0/+1
metze (This used to be commit 4410d7ea5d356f9a04f419f7254a60c20b1345c0)
2007-10-10r14964: - move sidmap code from ntvfs_common to SAMDBStefan Metzmacher3-2/+11
- make ntvfs_common a library - create sys_notify library metze (This used to be commit a3e1d56cf7b688c515f5d6d4d43e0b24c2261d15)
2007-10-10r14963: check talloc returnsAndrew Tridgell1-2/+13
(This used to be commit dd928e84ece04d35144befeda7a9b9dd597e4cf7)
2007-10-10r14961: fix compiler warningStefan Metzmacher1-2/+4
tridge: please add checks after talloc_realloc() and talloc_strdup()! metze (This used to be commit c136191870f91d4ce652da535a1cd52f4772574d)
2007-10-10r14959: allow change notify to be disabled completely usingAndrew Tridgell1-3/+1
notify:enable=False (This used to be commit 2a8f093105f3047a3697f29aadcc9c48c6ac88e1)
2007-10-10r14947: add support for file truncate eventsAndrew Tridgell1-5/+8
(This used to be commit ed1b90407d8ef6e0216931cb3a89cc9a7789ead2)
2007-10-10r14945: allow the notify backend to be specified per shareAndrew Tridgell1-1/+2
(This used to be commit 467027e7730a3bc56f152df7e2ec272905e19584)
2007-10-10r14941: a rename of a file (but not a directory) triggers 3 events. The firstAndrew Tridgell1-1/+11
two are the rename (FROM and TO) then the 3rd event is a modify event of both attributes and creation time. (This used to be commit 010a1b14a58c0194e1f8bba29f4d02a86b7559c5)
2007-10-10r14933: fix the handling of notify filters to be much closer to the behaviourAndrew Tridgell7-35/+37
of w2k3. The behaviour is particularly tricky for rename. (This used to be commit 4d3b8d95498a328ffc08ecb62d9531b6bfe4e2b5)
2007-10-10r14932: ensure that we send a NOTIFY_ACTION_OLD_NAME andAndrew Tridgell1-2/+4
NOTIFY_ACTION_NEW_NAME together to the client. (This used to be commit d58011b0f35c3299f35ba9d72a7b9b9b17253511)
2007-10-10r14928: demonstrate that the completion filter is only set on the first notifyAndrew Tridgell1-0/+2
on a directory handle (This used to be commit b6e40d9b0832fbab662f9289a30c26e2576b4821)
2007-10-10r14925: trigger NOTIFY_ACTION_OLD_NAME and NOTIFY_ACTION_NEW_NAME events forAndrew Tridgell2-36/+58
renames, if in the same directory. For renames between directories generate NOTIFY_ACTION_REMOVED and NOTIFY_ACTION_ADDED (This used to be commit 2ac248edf05c3ee715165f2b33055de480743e87)
2007-10-10r14924: when handling recursive change notify, the client expects a windowsAndrew Tridgell1-0/+1
path name back (This used to be commit ceb85d12f7efb002af7a271f999e22f94b8536fb)
2007-10-10r14920: allow a notify backend to separately specify if it has handled theAndrew Tridgell1-1/+5
given mask for the current directory and sub-directories. This allows us to setup the less efficient internal handling for subdirectories, while using the kernel inotify service for the current directory if available. It also allows inotify to handle only some of the filter bits, leaving the other filter bits for the user space handler. (This used to be commit 7c3d989fa44c7f57853a825337159f476d7dff80)
2007-10-10r14877: added support for the kernel inotify mechanism. This passes basicAndrew Tridgell1-1/+3
tests, but still needs some more work to ensure we correctly cope with events that may generate both a system inotify event and a internal notify event. The system inotify events won't handle recursion, and don't understand things like streams. This also adds the ntvfs/sysdep/ directory, which is meant for system dependent code that is not tied to a particular ntvfs backend. The inotify code is a good example of that. (This used to be commit eadadbb44adb3c4081d6ff1d85a9b850a0227059)
2007-10-10r14860: create libcli/security/security.hStefan Metzmacher2-2/+2
metze (This used to be commit 9ec706238c173992dc938d537bdf1103bf519dbf)
2007-10-10r14838: fix the build. Looks like I still haven't quite got the hang of theAndrew Tridgell1-0/+1
new dependency/proto system :-) (This used to be commit 63ae3f21e3471895ba83df1c2fdc4147090f7fdb)
2007-10-10r14808: added notify_trigger() calls for rename and setfileinfo callsAndrew Tridgell2-0/+43
(This used to be commit adb4ea32e2d5506cb213ea4c0715918042fba084)
2007-10-10r14797: added checking of the filter in notify requestsAndrew Tridgell5-5/+39
(This used to be commit 1db0a5a7f4c1ff915d91bc15d8e40cc90a78961d)
2007-10-10r14796: handle overflows in the notify buffer. The pending events are dumpedAndrew Tridgell1-4/+27
and the notify buffer removed (This used to be commit a4c0e23f9dc5049e7d6df3bf3d3ee694f715ce05)
2007-10-10r14795: queue notify requests on the same handleAndrew Tridgell1-32/+31
(This used to be commit c976f14a9f397802946a9bb36394fe4c27bf3caf)
2007-10-10r14793: the RAW-NOTIFY test now passes. Next I need to make it efficient, andAndrew Tridgell2-20/+28
add the hooks in all the other places (This used to be commit d1937589029ac2a75d15f006685769c44a274a65)
2007-10-10r14792: when we enable fake oplocks, give out batch oplocks not exclusive ↵Andrew Tridgell1-2/+2
oplocks (This used to be commit 182aee1a213c1219772895deed31e1ed8aed00c4)
2007-10-10r14755: the change notify code now passes most of the RAW-NOTIFY test. StillAndrew Tridgell3-17/+95
more work to do though (This used to be commit 4d234b37e528137b5c00f6bbb84c2d6939fea324)
2007-10-10r14736: - the ntvfs subsystem should not know about smb_server.hStefan Metzmacher2-2/+0
- the process module subsystem should not know about smb_server.h - the smb_server module should not know about process models metze (This used to be commit bac95bb8f4ad35a31ee666f5916ff9b2f292d964)
2007-10-10r14616: added notify change support to the posix backendAndrew Tridgell6-0/+162
It doesn't fully work yet, and doesn't yet have all the efficiency that is planned, but it doesn't break anything and I wanted to get the code in the tree to minimise the chance of collisions with the work metze is doing. (This used to be commit 1624ea88e6eef89caacc36e7513aa79df0d579b9)
2007-10-10r14614: handle zero timers in pvfs_wait()Andrew Tridgell1-4/+4
(This used to be commit cc1f8b3ebe2dcab6f21913af9baf231f3250120e)
2007-10-10r14554: Write out header dependencies. This means all C files affected will beJelmer Vernooij1-1/+1
rebuilt when a header file is changed. It also means parallel builds work now. It will take a minute or so to generate all the dependency information, but there should be no need to rebuild that information later on, unless a file changes. This behaviour is only enabled when building in developer mode (--enable-developer) and requires a GNU make (or compatible). In all other cases, the file 'static_deps.mk' is included, which contains some basic hardcoded dependency information. (This used to be commit eb435386f015ce1d89eb6f7e7837622ebd9e1951)
2007-10-10r14548: fix build after generated prototypesAlexander Bokovoy1-0/+1
(This used to be commit 25b93e043edc21fa40928c9166764a3a7e1b1e23)
2007-10-10r14540: fix a talloc hierachie problem,Stefan Metzmacher5-73/+108
make sure file and search handles are cleaned up before anything else in the pvfs_state struct, as there destructors reply on a valid pvfs_state struct metze (This used to be commit aaa5d377b9b6145a83c0e686c7fbb7b561ae8988)
2007-10-10r14487: split smbsrv_request into two parts, one will be moved to ntvfs_requestStefan Metzmacher5-12/+13
but I don't to get the commit to large, to I'll do this tomorrow... metze (This used to be commit 10e627032d7d04f1ebf6efed248c426614f5aa6f)
2007-10-10r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij14-13/+14
try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10r14456: don't access the smbsrv_tcon inside the ntvfs modulesStefan Metzmacher6-20/+19
metze (This used to be commit 5709c1c4e1a561dd9af98cfefbbbdac9b18765b7)
2007-10-10r14440: demonstrate that the smbpid is attached to a session (vuid),Stefan Metzmacher1-1/+2
so SMBexit() only closes files for the given user session and the given PID can someone check if samba3 passes this test, please? metze (This used to be commit fd291ff003ed934b2163d9ad93af9ef2dd631e11)
2007-10-10r14256: - rename smb_file -> smb_handleStefan Metzmacher9-25/+26
- move it into the in/out substructs again - allow file.path only on smb_fileinfo/smb_setfileinfo metze (This used to be commit be6d5298a2cdb7e7c61d70471bad445645af5963)
2007-10-10r14240: fix summary output (step 2)Stefan Metzmacher1-0/+2
we now need to explicit enable external libraries in *.m4 files again... metze (This used to be commit ca809a7910b16a248fffddc640298bbe4cdedc01)
2007-10-10r14208: removed use of req->flags2 inside the ntvfs layer. This should helpAndrew Tridgell1-1/+1
metze on his quest to unify the ntvfs strucures for the smb and smb2 servers. The only place we needed flags2 inside ntvfs was for the FLAGS2_READ_PERMIT_EXECUTE bit, which only affects readx, so I added a readx.in.read_for_execute flag instead. (This used to be commit b78abbbce60ab0009da19a72dd769800c44298a2)
2007-10-10r14174: fix typosStefan Metzmacher1-1/+1
metze (This used to be commit 29240bae4488749b3f8a2b49bccad1601d1aa184)
2007-10-10r14173: change smb interface structures to always useStefan Metzmacher11-31/+36
a union smb_file, to abtract - const char *path fot qpathinfo and setpathinfo - uint16_t fnum for SMB - smb2_handle handle for SMB2 the idea is to later add a struct ntvfs_handle *ntvfs so that the ntvfs subsystem don't need to know the difference between SMB and SMB2 metze (This used to be commit 2ef3f5970901b5accdb50f0d0115b5d46b0c788f)
2007-10-10r14157: - pass a struct ntvfs_request to the ntvfs layerStefan Metzmacher18-90/+79
(for now we just do #define ntvfs_request smbsrv_request, but it's the first step...) - rename ntvfs_openfile() -> ntvfs_open() - fix the talloc hierachie in some places in the ntvfs_map_*() code metze (This used to be commit ed9ed1f48f602354810937c0b0de850b44322191)