patchutil-vserver - Patches: patch #4968, vattribute resets bcaps when...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #4968: vattribute resets bcaps when setting ccaps

Submitter:  Daniel Hokka Zakrisson <daniel_hozac>
Submitted:  Sat 11 Mar 2006 09:08:22 PM UTC
   
 
Category:  Library Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  daniel_hozac Open/Closed:  Closed
Release:  alpha

Sun 12 Mar 2006 09:12:30 PM UTC, comment #1: 

Actually, when I thought about it some more, this seems like the appropriate solution; oring bcaps with the inversion of bmask. This will make sure capabilities that are not supposed to be touched aren't.

Daniel Hokka Zakrisson <daniel_hozac>
Group Member
Sat 11 Mar 2006 09:08:22 PM UTC, original submission:  

Due to the way vc_set_ccaps is implemented in the kernel, the bcaps is really a mask to apply to the existing bcaps. Setting the mask to zero will therefore reset all bcapabilities given to the guest.

This patch works around the issue by setting bcaps to ~0 when bmask is zero.

Daniel Hokka Zakrisson <daniel_hozac>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #9631:  util-vserver-0.30.210-bmask.patch added by daniel_hozac (573B - application/octet-stream - Updated patch)
file #9628:  util-vserver-0.30.210-bmask.patch added by daniel_hozac (454B - application/octet-stream - The patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-09-17 daniel_hozac StatusNone Done
    Assigned toNone daniel_hozac
    Open/ClosedOpen Closed
2006-03-12 daniel_hozac Attached File- Added util-vserver-0.30.210-bmask.patch, #6041
2006-03-11 daniel_hozac Attached File- Added util-vserver-0.30.210-bmask.patch, #6037

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code