Displaying 10 results from an estimated 10 matches for "bufpo".
Did you mean:
bufp
2009 Jul 27
1
supporting --fake-super on opensolaris (zfs) destination
...trs.c
+++ b/lib/sysxattrs.c
@@ -128,7 +128,155 @@ ssize_t sys_llistxattr(const char *path, char *list, size_t size)
#else
-#error You need to create xattr compatibility functions.
+ssize_t sys_lgetxattr(const char *path, const char *name, void *value, size_t size)
+{
+
+
+ int attrfd;
+ size_t bufpos,r;
+ STRUCT_STAT fst;
+
+ do_lstat(path,&fst);
+ if(S_ISLNK(fst.st_mode)) {
+ errno=EPERM;
+ return(-1);
+ }
+
+ attrfd = attropen(path, name, O_RDONLY);
+
+ if (attrfd<0) {
+ errno = ENOATTR;
+ return -1;
+ }
+
+
+ for(bufpos=0;bufpos<size;) {
+ r=read(attrfd,value+bufpos,512)...
2009 Aug 13
12
DO NOT REPLY [Bug 6633] New: Extended attributes under Solaris are not supported.
https://bugzilla.samba.org/show_bug.cgi?id=6633
Summary: Extended attributes under Solaris are not supported.
Product: rsync
Version: 3.0.6
Platform: All
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned at samba.org
ReportedBy: Lloyd.Parkes at
2009 Feb 15
2
COM32 module: Read-Only shell
...(for now)\n");
+ rosh_dir(cmdstr, pwdstr);
+} /* rosh_ls */
+
+/* Page through a buffer string
+ * buf Buffer to page through
+ */
+void rosh_more_buf(char *buf, int buflen, int rows, int cols)
+{
+ char *bufp, *bufeol; /* Pointer to current and next end-of-line
+ position in buffer */
+ int bufpos, bufcnt; /* current position, count characters */
+ char scrbuf[ROSH_SBUF_SZ];
+ int inc;
+ int i, numln; /* Index, Number of lines */
+
+ bufpos = 0;
+ bufp = buf + bufpos;
+ bufeol = bufp;
+ numln = rows - 1;
+printf("--(%d)\n", buflen);
+// printf("--termIOS CONSTS: ");
+//...
2009 Mar 05
0
[PATCH 5/5] COM32/rosh: Improvements
...* buf Buffer to page through
*/
void rosh_more_buf(char *buf, int buflen, int rows, int cols)
{
- char *bufp, *bufeol; /* Pointer to current and next end-of-line
- position in buffer */
+ char *bufp, *bufeol, *bufeol2; /* Pointer to current and next
+ end-of-line position in buffer */
int bufpos, bufcnt; /* current position, count characters */
char scrbuf[ROSH_SBUF_SZ];
int inc;
@@ -506,45 +765,36 @@ void rosh_more_buf(char *buf, int buflen, int
rows, int cols)
bufp = buf + bufpos;
bufeol = bufp;
numln = rows - 1;
-printf("--(%d)\n", buflen);
-// printf("--termIO...
2010 Jun 27
1
[PATCH] ROSH: Upgraded
...less than rows
void rosh_more_buf(char *buf, int buflen, int rows, int cols)
{
- char *bufp, *bufeol; /* Pointer to current and next end-of-line
- position in buffer */
+ char *bufp, *bufeol, *bufeol2; /* Pointer to current and next
+ end-of-line position in buffer */
int bufpos, bufcnt; /* current position, count characters */
char scrbuf[ROSH_SBUF_SZ];
int inc;
@@ -520,23 +791,17 @@ void rosh_more_buf(char *buf, int buflen, int
rows, int cols)
bufp = buf + bufpos;
bufeol = bufp;
numln = rows - 1;
- printf("--(%d)\n", buflen);
-// p...
2009 Sep 09
3
DO NOT REPLY [Bug 6701] New: permission of attributes are not preserved
...permissions
- for root preserve permission and ownerships
diff --git a/lib/sysxattrs.c b/lib/sysxattrs.c
index d55ee0c..c9a38cd 100644
--- a/lib/sysxattrs.c
+++ b/lib/sysxattrs.c
@@ -191,7 +191,7 @@ int sys_lsetxattr(const char *path, const char *name, const
{
int attrfd;
size_t bufpos;
- mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP;
+ mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH;
if ((attrfd = attropen(path, name, O_CREAT|O_TRUNC|O_WRONLY, mode)) <
0)
return -1;
--
Configure bugmail: https://bugzilla.samba.org/u...
2015 Feb 26
4
Call for testing: OpenSSH 6.8
...39;msg_control'
>
> ah, looks like we need to copy some bits from monitor_fdpass.c
Perhaps like this:
diff --git regress/netcat.c regress/netcat.c
index 3f100bd..29e85bf 100644
--- regress/netcat.c
+++ regress/netcat.c
@@ -1014,43 +1014,44 @@ fillbuf(int fd, unsigned char *buf, size_t *bufpos)
void
fdpass(int nfd)
{
- struct msghdr mh;
+#if defined(HAVE_SENDMSG) && (defined(HAVE_ACCRIGHTS_IN_MSGHDR) || defined(HAVE_CONTROL_IN_MSGHDR))
+ struct msghdr msg;
+#ifndef HAVE_ACCRIGHTS_IN_MSGHDR
union {
struct cmsghdr hdr;
char buf[CMSG_SPACE(sizeof(int))];
} cmsgbuf;
s...
2016 Jul 27
11
[RFC/PATCHSET 0/7] virtio: Implement virtio pstore device (v2)
Hello,
This is v2 of the virtio-pstore work. In this patchset I addressed
most of feedbacks from previous version. Limiting disk size is not
implemented yet.
* changes in v2)
- update VIRTIO_ID_PSTORE to 22 (Cornelia, Stefan)
- make buffer size configurable (Cornelia)
- support PSTORE_TYPE_CONSOLE (Kees)
- use separate virtqueues for read and write
- support concurrent async
2016 Jul 27
11
[RFC/PATCHSET 0/7] virtio: Implement virtio pstore device (v2)
Hello,
This is v2 of the virtio-pstore work. In this patchset I addressed
most of feedbacks from previous version. Limiting disk size is not
implemented yet.
* changes in v2)
- update VIRTIO_ID_PSTORE to 22 (Cornelia, Stefan)
- make buffer size configurable (Cornelia)
- support PSTORE_TYPE_CONSOLE (Kees)
- use separate virtqueues for read and write
- support concurrent async
2015 Feb 25
2
Call for testing: OpenSSH 6.8
On 24/02/15 21:56, Tim Rice wrote:
> On Wed, 25 Feb 2015, Damien Miller wrote:
>
> | On Tue, 24 Feb 2015, Tom G. Christensen wrote:
> |
> | > I've switched to HEAD in the git repo and it now builds on Solaris
> | > 2.6, 7, 8 and 9 but the testsuite still cannot be built due to the
> | > missing <err.h>.
>
> The err.h issue is fixes but there still