1320022251 Q * bonbons Quit: Leaving 1320025083 Q * fisted Ping timeout: 480 seconds 1320025094 J * fisted ~fisted@xdsl-87-78-216-226.netcologne.de 1320031767 M * Bertl_oO off to bed now .. have a good one everyone! 1320031773 N * Bertl_oO Bertl_zZ 1320032981 Q * clopez Ping timeout: 480 seconds 1320039786 Q * bergerx Quit: Leaving 1320040951 J * sannes1 ~ace@cm-84.209.106.118.getinternet.no 1320044593 J * ncopa ~ncopa@3.203.202.84.customer.cdi.no 1320044688 J * ghislain ~AQUEOS@adsl2.aqueos.com 1320044902 Q * zbyniu Ping timeout: 480 seconds 1320052823 Q * jeroen__ Ping timeout: 480 seconds 1320052929 J * bonbons ~bonbons@2001:960:7ab:0:fd4d:4340:dbc4:4b12 1320052979 J * jeroen__ ~jeroen@095-097-051-172.static.chello.nl 1320054394 N * Bertl_zZ Bertl 1320054398 M * Bertl morning folks! 1320054759 M * hijacker morning 1320055371 M * ghislain hello there 1320055446 M * ghislain i am very bad at c programming but how could i make a test to see if the current provcess has a vxid and if yes test it ? I want to modify a monitoring system to stop probing /proc/diskstats when it run on a guest because my dmesg is full of it 1320055541 M * daniel_hozac there is no consistent way to know. 1320055647 M * Bertl if you do not hide the context information, you can use the syscall to check for the xid/nid 1320055663 M * daniel_hozac i thought the syscall was always blocked from guests? 1320055975 M * daniel_hozac FILE *fp = fopen("/proc/self/vinfo", "r"); if (fp) { int xid; if (fscanf(fp, "XID:\t%d\n", &xid) == 1) { if (xid > 1) { /* do guest stuff */ } } fclose(fp); } 1320055987 M * daniel_hozac should work as long as you don't hide the information. 1320056159 M * Bertl vcmd -C task_xid -l 1320056239 M * Bertl of course, you can do the syscall command direcly in C, it doesn't take any arguments just returns the xid 1320056256 M * daniel_hozac do_vcmd has a if (!capable(CAP_CONTEXT)) return -ENOSYS; 1320056275 M * daniel_hozac do_vserver, sorry 1320056401 M * Bertl hmm, I guess that is a bug then ... instrospection should be allowed if not disabled 1320056441 M * Bertl probably didn't notice because chcontext seems to leave that cap on then? 1320058023 M * ccxCZ are there any docs on selinux / grsec rbac on vserver? 1320058836 M * Bertl not from our side, but there is probably a lot of information on the ML 1320059036 M * ccxCZ could I have the mailing list archive as an mbox/maildir pretty please? much more convenient searching in it that way 1320059044 M * ghislain daniel_hozac: will try the code thanks :) 1320059596 M * daniel_hozac Bertl: chcontext needs --secure to drop privileges 1320059845 M * daniel_hozac ccxCZ: try emailing sladen. 1320060646 M * Bertl ah yes, I seem to keep forgetting that ... 1320060655 M * Bertl off for now ... bbl 1320060660 N * Bertl Bertl_oO 1320061502 Q * Aiken Remote host closed the connection 1320070738 Q * fisted Ping timeout: 480 seconds 1320070996 J * fisted ~fisted@xdsl-87-78-222-4.netcologne.de 1320071221 J * BenG ~bengreen@cpc12-aztw24-2-0-cust146.aztw.cable.virginmedia.com 1320072039 J * clopez ~clopez@238.10.117.91.dynamic.mundo-r.com 1320072162 J * dowdle ~dowdle@scott.coe.montana.edu 1320072631 J * hparker ~hparker@2001:470:1f0f:32c:beae:c5ff:fe01:b647 1320072899 Q * BenG Quit: I Leave 1320072984 J * geos_one ~chatzilla@chello080109195117.4.graz.surfer.at 1320074938 A * sladen looks around 1320074943 M * sladen dowdle: clopez what can I do? 1320074952 M * sladen dowdle: ah, mbox. 1320080467 Q * daniel_hozac Ping timeout: 480 seconds 1320080472 J * daniel_hozac_ ~daniel@c-f33671d5.08-230-73746f22.cust.bredbandsbolaget.se 1320086541 Q * nicholi Remote host closed the connection 1320089848 Q * _nono_ Ping timeout: 480 seconds 1320090229 J * hijacker_ ~hijacker@cable-84-43-136-96.mnet.bg 1320090792 J * zbyniu ~zbyniu@ip-62.181.188.13.static.crowley.pl 1320090842 N * daniel_hozac_ daniel_hozac 1320090915 Q * ncopa Quit: Leaving 1320091901 J * Aiken ~Aiken@2001:44b8:2168:1000:21f:d0ff:fed6:d63f 1320092150 Q * geos_one Quit: ChatZilla 0.9.87 [Firefox 7.0.1/20111004013017] 1320094769 J * nicholi ~nicholi@rrcs-76-79-196-34.west.biz.rr.com 1320095487 Q * sannes1 Remote host closed the connection 1320095567 J * _nono_ ~gomes@licencieux.ircam.fr 1320097450 Q * hijacker_ Quit: Leaving 1320099403 Q * Aiken Quit: Leaving 1320100310 Q * fisted Remote host closed the connection 1320101202 Q * ccxCZ Remote host closed the connection 1320102787 J * black ~black@027cf407.bb.sky.com 1320102934 J * fisted ~fisted@xdsl-87-78-222-4.netcologne.de