Re: capget() overflows buffers.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Chris Wright
Date: Friday, May 23, 2008 - 6:09 pm

* Andrew G. Morgan (morgan@kernel.org) wrote:

Doh, I missed the leading portion of the pathname (cscope -p3 didn't
show anything more than include/sys/capability.h), thanks.


Hmm, it would be kind of nice to have a formalized way get the size,
perhaps it would help with KaiGai's request for caps printed out.
Something that tells us either the number of u32s, or the max bit
supported?


Yes, thanks.  But I still think we need to print a warning (unfortunately
we can't distinguish libcap from non-libcap app), because apps that
aren't using libcap should really be updated (either pull new update
from vendor or recompiled by end user).

thanks,
-chris
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
capget() overflows buffers., Dave Jones, (Thu May 22, 7:04 am)
Re: capget() overflows buffers., Chris Wright, (Thu May 22, 10:58 am)
Re: capget() overflows buffers., Chris Wright, (Thu May 22, 1:53 pm)
Re: capget() overflows buffers., Bojan Smojver, (Thu May 22, 2:20 pm)
Re: capget() overflows buffers., Andrew G. Morgan, (Thu May 22, 3:52 pm)
Re: capget() overflows buffers., Chris Wright, (Thu May 22, 4:37 pm)
Re: capget() overflows buffers., Bojan Smojver, (Thu May 22, 6:20 pm)
Re: capget() overflows buffers., Chris Wright, (Thu May 22, 7:06 pm)
Re: capget() overflows buffers., Bojan Smojver, (Thu May 22, 9:01 pm)
Re: capget() overflows buffers., Andrew G. Morgan, (Fri May 23, 12:09 am)
Re: capget() overflows buffers., Chris Wright, (Fri May 23, 8:57 am)
Re: capget() overflows buffers., Chris Wright, (Fri May 23, 11:26 am)
Re: capget() overflows buffers., Andrew G. Morgan, (Fri May 23, 5:02 pm)
Re: capget() overflows buffers., Chris Wright, (Fri May 23, 6:09 pm)
Re: capget() overflows buffers., Andrew G. Morgan, (Fri May 23, 9:40 pm)
Re: capget() overflows buffers., Andrew G. Morgan, (Fri May 23, 11:25 pm)
Re: capget() overflows buffers., Chris Wright, (Sat May 24, 1:07 am)
Re: capget() overflows buffers., Chris Wright, (Sat May 24, 1:17 am)