Ignore:
Timestamp:
Nov 25, 2016, 8:04:54 PM (9 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to version 4.4.7

Location:
vendor/current/source3/include
Files:
1 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/include/includes.h

    r988 r989  
    311311
    312312#include <talloc.h>
    313 
    314 #include "event.h"
     313#include <tevent.h>
     314#include "util_event.h"
    315315
    316316#include "../lib/util/data_blob.h"
  • vendor/current/source3/include/proto.h

    r988 r989  
    10211021void lp_set_mangling_method(const char *new_method);
    10221022bool lp_posix_pathnames(void);
    1023 void lp_set_posix_pathnames(void);
     1023bool lp_set_posix_pathnames(bool newval);
    10241024enum brl_flavour lp_posix_cifsu_locktype(files_struct *fsp);
    10251025void lp_set_posix_default_cifsx_readwrite_locktype(enum brl_flavour val);
  • vendor/current/source3/include/smb_macros.h

    r988 r989  
    5656                        ((req->flags2 & FLAGS2_READ_PERMIT_EXECUTE) && \
    5757                         (fsp->access_mask & FILE_EXECUTE))))
     58
     59/* An IOCTL readability check (validating read access
     60 * when the IOCTL code requires it)
     61 * http://social.technet.microsoft.com/wiki/contents/articles/24653.decoding-io-control-codes-ioctl-fsctl-and-deviceiocodes-with-table-of-known-values.aspx
     62 * ). On Windows servers, this is done by the IO manager, which is unaware of
     63 * the "if execute is granted then also grant read" arrangement.
     64 */
     65#define CHECK_READ_IOCTL(fsp, req) (((fsp)->fh->fd != -1) && ((fsp)->can_read))
    5866
    5967#define CHECK_WRITE(fsp) ((fsp)->can_write && ((fsp)->fh->fd != -1))
  • vendor/current/source3/include/vfs.h

    r988 r989  
    237237        uint32_t access_mask;           /* NTCreateX access bits (FILE_READ_DATA etc.) */
    238238        uint32_t share_access;          /* NTCreateX share constants (FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE). */
     239
     240        bool kernel_share_modes_taken;
    239241
    240242        bool update_write_time_triggered;
Note: See TracChangeset for help on using the changeset viewer.