<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/source3/web, 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>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>Convert Samba3 to use the common lib/util/charset API</title>
<updated>2009-04-14T02:53:56+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2009-03-19T01:20:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=3b3e21bd9ba701a97e752205263a7903619541c7'/>
<id>3b3e21bd9ba701a97e752205263a7903619541c7</id>
<content type='text'>
This removes calls to push_*_allocate() and pull_*_allocate(), as well
as convert_string_allocate, as they are not in the common API

To allow transition to a common charcnv in future, provide Samba4-like
strupper functions in source3/lib/charcnv.c

(the actual implementation remains distinct, but the API is now shared)

Andrew Bartlett
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes calls to push_*_allocate() and pull_*_allocate(), as well
as convert_string_allocate, as they are not in the common API

To allow transition to a common charcnv in future, provide Samba4-like
strupper functions in source3/lib/charcnv.c

(the actual implementation remains distinct, but the API is now shared)

Andrew Bartlett
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug #6040 -  Missing &lt;th&gt; header in Status page.</title>
<updated>2009-01-15T23:55:17+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2009-01-15T23:55:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=660d7794b67c1af9d699e5f99b9e5275b06ad67b'/>
<id>660d7794b67c1af9d699e5f99b9e5275b06ad67b</id>
<content type='text'>
Based on a patch from pkg-samba-maint@lists.alioth.debian.org.
Jeremy.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on a patch from pkg-samba-maint@lists.alioth.debian.org.
Jeremy.
</pre>
</div>
</content>
</entry>
<entry>
<title>s3: make better use of ccache by not including version.h in every C-file.</title>
<updated>2009-01-15T21:56:01+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2009-01-15T21:27:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=39ec8791f874a0a9a853aa1497099a57c1aa1dbc'/>
<id>39ec8791f874a0a9a853aa1497099a57c1aa1dbc</id>
<content type='text'>
version.h changes rather frequently. Since it is included via includes.h,
this means each C file will be a cache miss. This applies to the following
situations:

* When building a new package with a new Samba version

* building in a git branch after calling mkversion.sh
  after a new commit (i.e. virtually always)

This patch improves the situation in the following way:

* remove inlude "version.h" from includes.h

* Use samba_version_string() instead of SAMBA_VERSION_STRING
  in files that use no other macro from version.h instead of
  SAMBA_VERSION_STRING.

* explicitly include "version.h" in those files that use more
  macros from "version.h" than just SAMBA_VERSION_STRING.

Michael
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
version.h changes rather frequently. Since it is included via includes.h,
this means each C file will be a cache miss. This applies to the following
situations:

* When building a new package with a new Samba version

* building in a git branch after calling mkversion.sh
  after a new commit (i.e. virtually always)

This patch improves the situation in the following way:

* remove inlude "version.h" from includes.h

* Use samba_version_string() instead of SAMBA_VERSION_STRING
  in files that use no other macro from version.h instead of
  SAMBA_VERSION_STRING.

* explicitly include "version.h" in those files that use more
  macros from "version.h" than just SAMBA_VERSION_STRING.

Michael
</pre>
</div>
</content>
</entry>
<entry>
<title>s3/swat: Fix creation of the first share using SWAT.</title>
<updated>2009-01-06T14:15:59+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2009-01-06T14:13:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=db955fa7b9b8780a59a73f9a1a253366bd22d5c3'/>
<id>db955fa7b9b8780a59a73f9a1a253366bd22d5c3</id>
<content type='text'>
This fixes bug #5965.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes bug #5965.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix more "ignore return value" warnings from gcc 4.3.</title>
<updated>2008-12-31T02:24:39+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2008-12-31T02:24:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=9eab2bfaf1a2f07451d0d40e9dc3323b0573a143'/>
<id>9eab2bfaf1a2f07451d0d40e9dc3323b0573a143</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:loadparm: rename lp_local_ptr() to lp_local_ptr_by_snum()</title>
<updated>2008-12-15T13:16:06+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2008-12-15T13:16:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=91c543f0b5a539da4194f14dee8cad0f980a117e'/>
<id>91c543f0b5a539da4194f14dee8cad0f980a117e</id>
<content type='text'>
Michael
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Michael
</pre>
</div>
</content>
</entry>
<entry>
<title>Make us clean under valgrind --leak-check=full by using talloc_autofree_context() instead of NULL.</title>
<updated>2008-11-07T04:48:13+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2008-11-07T04:48:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=8962be69c700224983af4effd2cd086f7f5800b0'/>
<id>8962be69c700224983af4effd2cd086f7f5800b0</id>
<content type='text'>
Remove the code in memcache that does a TALLOC_FREE on stored pointers. That's a disaster waiting
to happen. If you're storing talloc'ed pointers, you can't know their lifecycle and they should
be deleted when their parent context is deleted, so freeing them at some arbitrary point later
will be a double-free.
Jeremy.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the code in memcache that does a TALLOC_FREE on stored pointers. That's a disaster waiting
to happen. If you're storing talloc'ed pointers, you can't know their lifecycle and they should
be deleted when their parent context is deleted, so freeing them at some arbitrary point later
will be a double-free.
Jeremy.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add wrapper str_list_make_v3() to replace the old S3 behavior of</title>
<updated>2008-11-07T02:53:00+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2008-11-07T02:53:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=8b4b5c3a92be83e99d9177b04f0da56f610025de'/>
<id>8b4b5c3a92be83e99d9177b04f0da56f610025de</id>
<content type='text'>
str_list_make(). From Dan Sledz &lt;dan.sledz@isilon.com&gt;:
In samba 3.2 passing NULL or an empty string returned NULL.
In master, it now returns a list of length 1 with the first string set
to NULL (an empty list).
Jeremy.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
str_list_make(). From Dan Sledz &lt;dan.sledz@isilon.com&gt;:
In samba 3.2 passing NULL or an empty string returned NULL.
In master, it now returns a list of length 1 with the first string set
to NULL (an empty list).
Jeremy.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use str_list_equal() rather than str_list_compare().</title>
<updated>2008-10-18T13:56:07+00:00</updated>
<author>
<name>Jelmer Vernooij</name>
<email>jelmer@samba.org</email>
</author>
<published>2008-10-18T13:56:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=89c95454300f28b0241a44fc2aa7886304c90824'/>
<id>89c95454300f28b0241a44fc2aa7886304c90824</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
