Question (tty ldisc): safe to use disc_data without changing ldisc?

From: Ulrich Windl
Date: Wed Feb 25 2004 - 09:48:04 EST


Hello experts,

I have a question: In a kernel modification I dynamically add some data
structure that is referred to by using the "disc_data" member of the tty
structure. My question is: is it safe to do that (I'm using a new magic number
of course), or can some other code just replace my reference? If it's not
safe, how would I correctly do that?

Any pointers to written (up to date) online documents are OK...

Regards
Ulrich
P.S. not subscribed here, I won't survive the traffic. Please [B]CC: to me.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/