search for: guestfs_getxattr

Displaying 20 results from an estimated 58 matches for "guestfs_getxattr".

2015 May 26
6
[PATCH 0/6] Update the way that API versions are generated for the man page.
The existing mechanism was clunky, slow and used ~ 10 MB of local disk. Rich.
2014 Jan 14
0
[PATCH] builder, edit, fish: use copy-attributes
...); - - /* Get the mode. */ - stat = guestfs_stat (g, src); - if (stat == NULL) - return -1; - - /* Get the SELinux context. XXX Should we copy over other extended - * attributes too? - */ - if (has_linuxxattrs) { - guestfs_push_error_handler (g, NULL, NULL); - - selinux_context = guestfs_getxattr (g, src, "security.selinux", - &selinux_context_size); - /* selinux_context could be NULL. This isn't an error. */ - - guestfs_pop_error_handler (g); - } - - /* Set the permissions (inc. sticky and set*id bits), UID, GID. */ - if (g...
2011 Jan 14
0
Patch. not working
...rator/generator_actions.ml > index ccaf10a..d673ce5 100644 > --- a/generator/generator_actions.ml > +++ b/generator/generator_actions.ml > @@ -5675,6 +5675,13 @@ is no extended attribute named C<name>, this returns an error. > > See also: C<guestfs_lgetxattrs>, C<guestfs_getxattr>, L<attr(5)>."); > > + ("resize2fs_M", (RErr, [Device "device"], []), 281, [], > + [], > + "resize an ext2, ext3 or ext4 filesystem for their minimal size value", > + "\ > +This command is the same as C<guestfs_resize2fs...
2012 Feb 08
2
Fix virt-edit so it preserves permissions (RHBZ#788641)
The first patch preserves file mode, UID, GID and SELinux context across edited files. The second patch adds a useful new command in guestfish ('llz') which shows SELinux context (like 'ls -laZ') that was useful when debugging this. Rich.
2014 Jan 07
8
RFC: copy-attributes command
Hi, attached there is a prototype of patch for adding a new copy-attributes command. Such command would allow copy the attributes of a "file" to another, so for example in guestfish: copy-attributes foo bar permissions:true xattributes:false would only copy the permissions of foo to bar, not copying its extended attributes too. Just few notes: - my first daemon command, so
2012 Feb 10
3
[PATCH 0/3] Fix guestfish edit command.
This is a further, more comprehensive fix for https://bugzilla.redhat.com/show_bug.cgi?id=788641 The guestfish 'edit' command (aka 'emacs', 'vi') suffered from the same problems as virt-edit and more. It could have failed and left a partially overwritten file, and it didn't preserve permissions etc from the original file. These three patches fix all this. The first
2012 Mar 09
5
[PATCH 0/5] Fixes to resize2fs (RHBZ#755729, RHBZ#801640)
https://bugzilla.redhat.com/show_bug.cgi?id=755729 This bug reports that the error message printed by the resize2fs API calls (which comes directly from the resize2fs command) says: Please run 'e2fsck -f /dev/vda1' first. That command is not possible from guestfish (where it would be 'e2fsck-f' or 'e2fsck ... forceall:true'). Fixing that bug caused this bug:
2019 Aug 12
1
[PATCH] Fix small issues in documentations of APIs
...crypted device. C<key> is the -initial key, which is added to key slot C<slot>. (LUKS +initial key, which is added to key slot C<keyslot>. (LUKS supports 8 key slots, numbered 0-7)." }; { defaults with @@ -6115,7 +6115,7 @@ See also: C<guestfs_lgetxattrs>, C<guestfs_getxattr>, L<attr(5)>." }; longdesc = "\ This command is the same as C<guestfs_resize2fs>, but the filesystem is resized to its minimum size. This works like the I<-M> option -to the C<resize2fs> command. +to the L<resize2fs(8)> command. To get the resul...
2017 Feb 21
1
[PATCH] generator: Put all the daemon procedure numbers (proc_nr)
This is a follow-up to the other generator changes in: https://www.redhat.com/archives/libguestfs/2017-February/msg00217.html Rich.
2017 Feb 18
8
[PATCH 0/6] generator: Split up generator/actions.ml
Split up the huge generator/actions.ml into several smaller files. Rich.
2017 Apr 21
0
[PATCH 1/2] generator: Simplify the handling of string parameters.
...[]; + style = RBufferOut "xattr", [String (Pathname, "path"); String (PlainString, "name")], []; optional = Some "linuxxattrs"; shortdesc = "get a single extended attribute"; longdesc = "\ @@ -6303,7 +6303,7 @@ See also: C<guestfs_getxattrs>, C<guestfs_lgetxattr>, L<attr(5)>." }; { defaults with name = "lgetxattr"; added = (1, 7, 24); - style = RBufferOut "xattr", [Pathname "path"; String "name"], []; + style = RBufferOut "xattr", [String (Pathname,...
2017 Apr 21
4
[PATCH 0/2] generator: Simplify the handling of string parameters.
Very large but mechanical change to the generator. Rich.
2010 Dec 24
0
builder-debian libguestfs success 3f4dc56a32074a02b1b829bd7a91878f73022d1d
..."guestfs_df" has no tests warning: "guestfs_df_h" has no tests warning: "guestfs_mount_loop" has no tests warning: "guestfs_readdir" has no tests warning: "guestfs_sfdiskM" has no tests warning: "guestfs_zfile" has no tests warning: "guestfs_getxattrs" has no tests warning: "guestfs_lgetxattrs" has no tests warning: "guestfs_setxattr" has no tests warning: "guestfs_lsetxattr" has no tests warning: "guestfs_removexattr" has no tests warning: "guestfs_lremovexattr" has no tests warning: &quot...
2011 Jan 07
0
builder-debian libguestfs success 7e1114445e713c4a15f3f2cede5842044de1735a
..."guestfs_df" has no tests warning: "guestfs_df_h" has no tests warning: "guestfs_mount_loop" has no tests warning: "guestfs_readdir" has no tests warning: "guestfs_sfdiskM" has no tests warning: "guestfs_zfile" has no tests warning: "guestfs_getxattrs" has no tests warning: "guestfs_lgetxattrs" has no tests warning: "guestfs_setxattr" has no tests warning: "guestfs_lsetxattr" has no tests warning: "guestfs_removexattr" has no tests warning: "guestfs_lremovexattr" has no tests warning: &quot...
2010 Dec 24
1
builder-ubuntu libguestfs success 3f4dc56a32074a02b1b829bd7a91878f73022d1d
..."guestfs_df" has no tests warning: "guestfs_df_h" has no tests warning: "guestfs_mount_loop" has no tests warning: "guestfs_readdir" has no tests warning: "guestfs_sfdiskM" has no tests warning: "guestfs_zfile" has no tests warning: "guestfs_getxattrs" has no tests warning: "guestfs_lgetxattrs" has no tests warning: "guestfs_setxattr" has no tests warning: "guestfs_lsetxattr" has no tests warning: "guestfs_removexattr" has no tests warning: "guestfs_lremovexattr" has no tests warning: &quot...
2011 Jan 04
0
builder-debian libguestfs success 7ce627fce02eae8c7db36b4090fa0ce1bf69bf44
..."guestfs_df" has no tests warning: "guestfs_df_h" has no tests warning: "guestfs_mount_loop" has no tests warning: "guestfs_readdir" has no tests warning: "guestfs_sfdiskM" has no tests warning: "guestfs_zfile" has no tests warning: "guestfs_getxattrs" has no tests warning: "guestfs_lgetxattrs" has no tests warning: "guestfs_setxattr" has no tests warning: "guestfs_lsetxattr" has no tests warning: "guestfs_removexattr" has no tests warning: "guestfs_lremovexattr" has no tests warning: &quot...
2011 Jan 25
0
builder-debian libguestfs success 36fe0acf8a2e72c223d7a9f7a93815ff276a3cc1
..."guestfs_df" has no tests warning: "guestfs_df_h" has no tests warning: "guestfs_mount_loop" has no tests warning: "guestfs_readdir" has no tests warning: "guestfs_sfdiskM" has no tests warning: "guestfs_zfile" has no tests warning: "guestfs_getxattrs" has no tests warning: "guestfs_lgetxattrs" has no tests warning: "guestfs_setxattr" has no tests warning: "guestfs_lsetxattr" has no tests warning: "guestfs_removexattr" has no tests warning: "guestfs_lremovexattr" has no tests warning: &quot...
2011 Jan 07
0
builder-ubuntu libguestfs success 7e1114445e713c4a15f3f2cede5842044de1735a
..."guestfs_df" has no tests warning: "guestfs_df_h" has no tests warning: "guestfs_mount_loop" has no tests warning: "guestfs_readdir" has no tests warning: "guestfs_sfdiskM" has no tests warning: "guestfs_zfile" has no tests warning: "guestfs_getxattrs" has no tests warning: "guestfs_lgetxattrs" has no tests warning: "guestfs_setxattr" has no tests warning: "guestfs_lsetxattr" has no tests warning: "guestfs_removexattr" has no tests warning: "guestfs_lremovexattr" has no tests warning: &quot...
2011 Jan 04
0
builder-ubuntu libguestfs success 7ce627fce02eae8c7db36b4090fa0ce1bf69bf44
..."guestfs_df" has no tests warning: "guestfs_df_h" has no tests warning: "guestfs_mount_loop" has no tests warning: "guestfs_readdir" has no tests warning: "guestfs_sfdiskM" has no tests warning: "guestfs_zfile" has no tests warning: "guestfs_getxattrs" has no tests warning: "guestfs_lgetxattrs" has no tests warning: "guestfs_setxattr" has no tests warning: "guestfs_lsetxattr" has no tests warning: "guestfs_removexattr" has no tests warning: "guestfs_lremovexattr" has no tests warning: &quot...
2011 Jan 25
0
builder-ubuntu libguestfs success 36fe0acf8a2e72c223d7a9f7a93815ff276a3cc1
..."guestfs_df" has no tests warning: "guestfs_df_h" has no tests warning: "guestfs_mount_loop" has no tests warning: "guestfs_readdir" has no tests warning: "guestfs_sfdiskM" has no tests warning: "guestfs_zfile" has no tests warning: "guestfs_getxattrs" has no tests warning: "guestfs_lgetxattrs" has no tests warning: "guestfs_setxattr" has no tests warning: "guestfs_lsetxattr" has no tests warning: "guestfs_removexattr" has no tests warning: "guestfs_lremovexattr" has no tests warning: &quot...