there is no such notion as "rights to move a file to a new container".Doesnt the ability to move tasks between groups dynamically affect
(atleast) memory controller design (in giving up ownership etc)?
we save object owner on the object. So if you change the container,
objects are still correctly charged to the creator and are uncharged
correctly on free.
Seems like the object owner should also change when the object moves
from one container to another.
Consider a file which is opened in 2 processes. one of the processes
wants to move to another container then. How would you decide whether
to change the file owner or not?
If a process has sufficient rights to move a file to a new container
then it should be okay to assign the file to the new container.
Though the point is, if a resource (like file) is getting migrated to aThe same for many other resources. It is a big mistake thinking that most resources
new container then all the attributes (like owner, #pages in memory
etc.) attached to that resource (file) should also migrate to this new
container. Otherwise the semantics of where does the resource belong
becomes very difficult.
And if you really want a resource to not be able to migrate from oneI hope not that one used in ext[23]? :)
container then we could define IMMUTABLE flag to indicate that behavior.