On 05/25/2011 04:20 PM, Dhaval Giani wrote: > On Wed, May 25, 2011 at 3:54 PM, Michal Hocko <mho...@suse.cz> wrote: >> On Wed 25-05-11 15:44:18, Jan Safranek wrote: >>> On 05/25/2011 03:43 PM, Michal Hocko wrote: >>>> On Wed 25-05-11 15:30:16, Dhaval Giani wrote: >>>>> On Fri, May 20, 2011 at 4:42 PM, Michal Hocko <mho...@suse.cz> wrote: >>>>>> On Fri 20-05-11 16:41:27, Michal Hocko wrote: >>>>>>> On Fri 20-05-11 14:25:17, Jan Safranek wrote: >>>>>>>> On 05/19/2011 09:37 PM, Michal Hocko wrote: >>>>>>> What about this? >>>>>> >>>>>> I am not able to link with this patch because of the prelink magic: >>>>>> cgcreate.o: In function `main': >>>>>> /mnt/share/devel/miso/libcg/src/tools/cgcreate.c:314: undefined >>>>>> reference to `cg_owner_mask_chmod_recursive' >>>>>> collect2: ld returned 1 exit status >>>>>> >>>>>> How should I do this properly? >>>>> >>>>> I missed this email. Let me take a look at the patches, and suggest >>>>> something. Though Jan is the resident expert of Makefile magic :) >>>> >>>> I was about to copy&paste what is done for cg_chmod_recursive but then I >>>> thought that there might be some generator for that... >>> >>> You must add cg_owner_mask_chmod_recursive to libcgroup.map. It has >>> nothing to do with Makefile magic. >> >> Works just fine. Thanks! I suspected something like that and I admit I >> was too lazy to read through doc which describes this for sure. > > Any reason why we have this publicly available? Something outside > libcgroup is using it?
our tools are using it and they can use only what libcgroup.so exposes (=defined in the .map file). Jan ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel