<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/source3/lib/system.c, branch talloc-2.0.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/'/>
<entry>
<title>Refactor the use of create_time and change time to go</title>
<updated>2009-08-10T22:07:53+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2009-08-10T22:07:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=c9dca82ed7757f4745edf6ee6048bd94d86c4dbc'/>
<id>c9dca82ed7757f4745edf6ee6048bd94d86c4dbc</id>
<content type='text'>
through functions. Will aid in making us pass RAW-SETFILEINFO.
Jeremy.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
through functions. Will aid in making us pass RAW-SETFILEINFO.
Jeremy.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a typo reading uninitialized memory. Caught by valgrind.</title>
<updated>2009-07-18T01:05:10+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2009-07-18T01:05:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=eba2eb45e208e6b3091c01ff1d40fd966e72a044'/>
<id>eba2eb45e208e6b3091c01ff1d40fd966e72a044</id>
<content type='text'>
Jeremy.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Jeremy.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename update_stat_ex_writetime() -&gt; update_stat_ex_mtime()</title>
<updated>2009-07-09T01:05:30+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2009-07-09T01:05:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=400c18a8c4098b4ba86d32a236e5d89014774f3f'/>
<id>400c18a8c4098b4ba86d32a236e5d89014774f3f</id>
<content type='text'>
to better describe what we're doing here.
Jeremy
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to better describe what we're doing here.
Jeremy
</pre>
</div>
</content>
</entry>
<entry>
<title>The migration to struct stat_ex broke the calculation of</title>
<updated>2009-07-09T00:51:35+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2009-07-09T00:51:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=c9c3d4312d7281904fc4a1cc9abd4831cdf4bfb9'/>
<id>c9c3d4312d7281904fc4a1cc9abd4831cdf4bfb9</id>
<content type='text'>
create time from the existing timestamps (for systems
that need to do this). Once the write time is changed
via a sticky write, the create time might need to be
recalculated. To do this I needed to add a bool into
struct stat_ex to remember if the st_ex_btime field
was calculated, or read from the OS. Also fixed the
returning of modified write timestamps in the return
from NTCreateX, SMBattr and SMBattrE (which weren't
taking into account the modified timestamp stored
in the open file table). Attempting to fix an issue
with Excel 2003 and offline files. Volker and Metze,
please review.
Jeremy
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
create time from the existing timestamps (for systems
that need to do this). Once the write time is changed
via a sticky write, the create time might need to be
recalculated. To do this I needed to add a bool into
struct stat_ex to remember if the st_ex_btime field
was calculated, or read from the OS. Also fixed the
returning of modified write timestamps in the return
from NTCreateX, SMBattr and SMBattrE (which weren't
taking into account the modified timestamp stored
in the open file table). Attempting to fix an issue
with Excel 2003 and offline files. Volker and Metze,
please review.
Jeremy
</pre>
</div>
</content>
</entry>
<entry>
<title>When faking a create time, use the full timespec values, not time_t.</title>
<updated>2009-07-08T19:28:01+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2009-07-08T19:28:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=58daaa3d1e7075b23c8709889be9b461c6c6c174'/>
<id>58daaa3d1e7075b23c8709889be9b461c6c6c174</id>
<content type='text'>
Jeremy.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Jeremy.
</pre>
</div>
</content>
</entry>
<entry>
<title>s3: correct check for usleep value boundaries</title>
<updated>2009-06-03T16:06:43+00:00</updated>
<author>
<name>Björn Jacke</name>
<email>bj@sernet.de</email>
</author>
<published>2009-06-03T16:03:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=7cdad30b9640cc876e8ca59cd67455039107a5df'/>
<id>7cdad30b9640cc876e8ca59cd67455039107a5df</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Attempt to fix the build on NetBSD</title>
<updated>2009-05-26T21:20:34+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2009-05-26T20:39:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=dd0506d15ddb01b8f6e7b6be604a3445b73db434'/>
<id>dd0506d15ddb01b8f6e7b6be604a3445b73db434</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce "struct stat_ex" as a replacement for SMB_STRUCT_STAT</title>
<updated>2009-05-26T15:48:23+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2009-05-14T13:34:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=49ca690b4b22ee6e597179059c9442e94c5bd423'/>
<id>49ca690b4b22ee6e597179059c9442e94c5bd423</id>
<content type='text'>
This patch introduces

struct stat_ex {
        dev_t           st_ex_dev;
        ino_t           st_ex_ino;
        mode_t          st_ex_mode;
        nlink_t         st_ex_nlink;
        uid_t           st_ex_uid;
        gid_t           st_ex_gid;
        dev_t           st_ex_rdev;
        off_t           st_ex_size;
        struct timespec st_ex_atime;
        struct timespec st_ex_mtime;
        struct timespec st_ex_ctime;
        struct timespec st_ex_btime; /* birthtime */
        blksize_t       st_ex_blksize;
        blkcnt_t        st_ex_blocks;
};
typedef struct stat_ex SMB_STRUCT_STAT;

It is really large because due to the friendly libc headers playing macro
tricks with fields like st_ino, so I renamed them to st_ex_xxx.

Why this change? To support birthtime, we already have quite a few #ifdef's at
places where it does not really belong. With a stat struct that we control, we
can consolidate the nanosecond timestamps and the birthtime deep in the VFS
stat calls.

At this moment it is triggered by a request to support the birthtime field for
GPFS. GPFS does not extend the system level struct stat, but instead has a
separate call that gets us the additional information beyond posix. Without
being able to do that within the VFS stat calls, that support would have to be
scattered around the main smbd code.

It will very likely break all the onefs modules, but I think the changes will
be reasonably easy to do.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch introduces

struct stat_ex {
        dev_t           st_ex_dev;
        ino_t           st_ex_ino;
        mode_t          st_ex_mode;
        nlink_t         st_ex_nlink;
        uid_t           st_ex_uid;
        gid_t           st_ex_gid;
        dev_t           st_ex_rdev;
        off_t           st_ex_size;
        struct timespec st_ex_atime;
        struct timespec st_ex_mtime;
        struct timespec st_ex_ctime;
        struct timespec st_ex_btime; /* birthtime */
        blksize_t       st_ex_blksize;
        blkcnt_t        st_ex_blocks;
};
typedef struct stat_ex SMB_STRUCT_STAT;

It is really large because due to the friendly libc headers playing macro
tricks with fields like st_ino, so I renamed them to st_ex_xxx.

Why this change? To support birthtime, we already have quite a few #ifdef's at
places where it does not really belong. With a stat struct that we control, we
can consolidate the nanosecond timestamps and the birthtime deep in the VFS
stat calls.

At this moment it is triggered by a request to support the birthtime field for
GPFS. GPFS does not extend the system level struct stat, but instead has a
separate call that gets us the additional information beyond posix. Without
being able to do that within the VFS stat calls, that support would have to be
scattered around the main smbd code.

It will very likely break all the onefs modules, but I think the changes will
be reasonably easy to do.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix some nonempty blank lines</title>
<updated>2009-05-14T10:14:57+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2009-05-14T10:13:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=979f13b19e7558267529c42d4ca7e4373a78798e'/>
<id>979f13b19e7558267529c42d4ca7e4373a78798e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactored sys_fork() and sys_pid() into shared util library</title>
<updated>2009-02-24T05:17:12+00:00</updated>
<author>
<name>Steven Danneman</name>
<email>steven.danneman@isilon.com</email>
</author>
<published>2009-02-24T04:46:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=8d63c596a0f512c96f5663c0a9bd49d3c98c6df9'/>
<id>8d63c596a0f512c96f5663c0a9bd49d3c98c6df9</id>
<content type='text'>
This fixes a bug in 116ce19b, where we didn't clear the pid cache in
become_daemon() and thus the /var/run/smbd.pid didn't match the actual
pid of the parent process.

Currently S4 will clear the pid cache on fork but doesn't yet take
advantage of the pid cache by using sys_pid() instead of the direct
get_pid().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes a bug in 116ce19b, where we didn't clear the pid cache in
become_daemon() and thus the /var/run/smbd.pid didn't match the actual
pid of the parent process.

Currently S4 will clear the pid cache on fork but doesn't yet take
advantage of the pid cache by using sys_pid() instead of the direct
get_pid().
</pre>
</div>
</content>
</entry>
</feed>
