Displaying 12 results from an estimated 12 matches for "weihua".
2009 May 14
0
[LLVMdev] alias analysis results
On Thu, May 14, 2009 at 2:19 PM, Weihua Sheng <weihua.sheng at gmail.com> wrote:
> I actullay would expect the more accurate results from applying
> anders-aa, but I could not interpret what has been returned - at least
> I should see something like jj->aa, right?
I'm not quite following... jj and aa don't alia...
2009 May 14
2
[LLVMdev] alias analysis results
...test() nounwind
I actullay would expect the more accurate results from applying
anders-aa, but I could not interpret what has been returned - at least
I should see something like jj->aa, right?
Maybe I missed something out, could someone on the mailing list share
some thoughts?
Thanks a lot!
Weihua
2009 May 15
1
[LLVMdev] alias analysis results
...yAlias: i32* %0, i32* %2
MayAlias: i32* %1, i32* %2
which I interpret as (%0, %1, %aa, %2) as the alias set. Here comes
my beginner's question: will the AA give the result that kk and jj
alias (that's what I understand from C and possibly could see from
bc)? Thanks a lot again!
Weihua
On Fri, May 15, 2009 at 1:33 AM, Eli Friedman <eli.friedman at gmail.com> wrote:
> On Thu, May 14, 2009 at 2:19 PM, Weihua Sheng <weihua.sheng at gmail.com> wrote:
>> I actullay would expect the more accurate results from applying
>> anders-aa, but I could not int...
2010 May 18
3
[PATCH] btrfs: should add a permission check for setfacl
...: user1
user::rwx <- successed to setfacl
group::rw-
other::r--
------------------
but we should prohibit it that user2 changing user1''s acl.
In fact, on ext3 and other fs, a message occurs:
setfacl: aaa: Operation not permitted
This patch fixed it.
Signed-off-by: Shi Weihua <shiwh@cn.fujitsu.com>
---
diff --git a/fs/btrfs/acl.c b/fs/btrfs/acl.c
index da3133c..12d7be8 100644
--- a/fs/btrfs/acl.c
+++ b/fs/btrfs/acl.c
@@ -159,6 +159,9 @@ static int btrfs_xattr_set_acl(struct inode *inode, int type,
int ret;
struct posix_acl *acl = NULL;
+ if (!is_owner_or_cap...
1997 Dec 08
1
print from UNIX to Win95
Hi
Can I print PostScript files or imagine Files from UNIX (soliaris 2.5)
to a Win95 printer (HP 6P/6PM) ? Now I can only print plain text files
using the script included in samba (smbprint).
If it is possible how can I configue samba(1.9.17p3) ?
Thank you !
Sincerely;
Dong Weihua
weihuad@matpr.kth
2015 Apr 20
1
Re: inquiry about differences between the tap and the vnet in the virt-manager
...nothing for a bridge'd setup. Neither the setting of ip_forward nor a POSTROUTING rule will have any effect on packets that are bridged directly to a physical device (i.e. L2) - they only take effect on packets that are routed via the host's IP stack (i.e. L3).
///////////////////////////
weihua:
thanks for you suggestion !
I want to use "ping" command to test network state , so I make these setting .
///////////////////////////
add it to the bridge
[root@localhost ~]# brctl addif br0 tap0
[root@localhost ~]# brctl show
bridge name bridge id ST...
2015 Apr 19
4
inquiry about differences between the tap and the vnet in the virt-manager
....
I guess the reason is that there are some differences between the tap device created by linux command and vnet device created by virt-manager. could you please kindly give my some advices to solve the problem ?
I would be grateful if you could give me some advice . look forward to your reply !
weihua
wh.h@foxmail.com
2010 May 18
0
[PATCH] btrfs: prohibit a operation of changing acl's mask when noacl mount option used
...d by pjd-fstest.
------------------------
I checked ext3, a warning message occured, like as:
setfacl: aaa/: Operation not supported
Certainly, it''s expected by pjd-fstest.
So, i compared acl.c of btrfs and ext3. Based on that, a patch created.
Fortunately, it works.
Signed-off-by: Shi Weihua <shiwh@cn.fujitsu.com>
---
diff --git a/fs/btrfs/acl.c b/fs/btrfs/acl.c
index da3133c..f2e09c2 100644
--- a/fs/btrfs/acl.c
+++ b/fs/btrfs/acl.c
@@ -159,6 +159,9 @@ static int btrfs_xattr_set_acl(struct inode *inode, int type,
int ret;
struct posix_acl *acl = NULL;
+ if (!IS_POSIXACL(ino...
2005 Nov 22
1
HTB classid problem
Hey, everyone, I am kindda newbie to this subject, so I just post my problem directly, please let me know if anything is wrong.
in my config file
when I use
tc class add dev eth1 parent 1:11 classid 1:11016 htb rate 512kbit burst 10k
everything works correctly
but...when classid goes larger than 1:19999, eg:
tc class add dev eth1 parent 1:21 classid 1:21006 htb rate
2015 Apr 26
3
How does the libvirt deal with the vnet mac address
...ervisor and the ethX device in the VM is different?
If I want to create tap device manually , how should I deal with the mac address ?I have setup the mac address of the tap0 device in the hypervisor and the ethX device in the VM in the same way with libvirt , but the network of VM cannot work.
weihua
wh.h@foxmail.com
wh.h@foxmail.com
2015 Apr 28
0
Re: How does the libvirt deal with the vnet mac address
...side" mean :
one side is ethx in the VM, the other side is tap device in the hypervisor?
But , these two devices is actually the same one . If package is received in the ethx device in the VM , the package also arrives at the tap device in the hypervisor at the same time , doesn't it ?
weihua
wh.h@foxmail.com
2015 Apr 27
2
Re: How does the libvirt deal with the vnet mac address
On 04/27/2015 04:59 AM, Daniel P. Berrange wrote:
> On Sun, Apr 26, 2015 at 10:51:34AM +0800, wh.h@foxmail.com wrote:
>> How does the libvirt deal with the vnet mac address?
>>
>> Greetings,
>> if I establish a network for the VM (hypervisor is KVM) using bridge in
>> the virt-manager , a vnet0 device is created . There are some relationships
>> about mac