<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/source3/web/cgi.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>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 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>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>Use separate make variables for libutil and libcrypto.</title>
<updated>2008-10-18T12:28:40+00:00</updated>
<author>
<name>Jelmer Vernooij</name>
<email>jelmer@samba.org</email>
</author>
<published>2008-10-17T10:48:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=2d89b52be8104261aa8f028f49210f016cbf4742'/>
<id>2d89b52be8104261aa8f028f49210f016cbf4742</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Cope with changed signature of http_timestring().</title>
<updated>2008-10-11T21:57:44+00:00</updated>
<author>
<name>Jelmer Vernooij</name>
<email>jelmer@samba.org</email>
</author>
<published>2008-10-11T21:57:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=cb78d4593b5ac4eaa0cbead6f86027d040a9e88a'/>
<id>cb78d4593b5ac4eaa0cbead6f86027d040a9e88a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix saving of the config file in SWAT; [#5516].</title>
<updated>2008-06-03T13:35:41+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>anschneider@suse.de</email>
</author>
<published>2008-06-03T13:05:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=0d556eabdecbcee20e947cd81c50fd8bca79af46'/>
<id>0d556eabdecbcee20e947cd81c50fd8bca79af46</id>
<content type='text'>
The strlen of the source string passed to convert_string_allocate was too
short :)

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
(This used to be commit ac3597ef8b7781499ab55f1039670ec82202e32c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The strlen of the source string passed to convert_string_allocate was too
short :)

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
(This used to be commit ac3597ef8b7781499ab55f1039670ec82202e32c)
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup size_t return values in convert_string_allocate</title>
<updated>2008-04-11T09:33:33+00:00</updated>
<author>
<name>Tim Prouty</name>
<email>tim.prouty@isilon.com</email>
</author>
<published>2008-03-03T21:32:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=bb869741ddc3d82da02c96bef592dab6074ff142'/>
<id>bb869741ddc3d82da02c96bef592dab6074ff142</id>
<content type='text'>
This patch is the first iteration of an inside-out conversion to cleanup
functions in charcnv.c returning size_t == -1 to indicate failure.
(This used to be commit 59124382d2894a1b194b48dd82bc5f956959eb48)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch is the first iteration of an inside-out conversion to cleanup
functions in charcnv.c returning size_t == -1 to indicate failure.
(This used to be commit 59124382d2894a1b194b48dd82bc5f956959eb48)
</pre>
</div>
</content>
</entry>
<entry>
<title>strtok -&gt; strtok_r</title>
<updated>2008-01-23T14:08:04+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2008-01-23T10:04:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=587cf54c61c9f1f7bcae431a82035fd942716c32'/>
<id>587cf54c61c9f1f7bcae431a82035fd942716c32</id>
<content type='text'>
(This used to be commit fd34ce437057bb34cdc37f4b066e424000d36789)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(This used to be commit fd34ce437057bb34cdc37f4b066e424000d36789)
</pre>
</div>
</content>
</entry>
<entry>
<title>Make strhex_to_str clear on string limits. Remove pstring from web/*.c</title>
<updated>2007-12-04T01:17:05+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2007-12-04T01:17:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=6f46f75dfc2c80b99a6a5fb277bab456a5fd247b'/>
<id>6f46f75dfc2c80b99a6a5fb277bab456a5fd247b</id>
<content type='text'>
Jeremy.
(This used to be commit f9c8d62389f8cb47837e5360209936176537df13)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Jeremy.
(This used to be commit f9c8d62389f8cb47837e5360209936176537df13)
</pre>
</div>
</content>
</entry>
</feed>
