user3654558
user3654558

Reputation: 23

Assignment with two values in Linux kernel

I'm preparing a presentation on the linux kernel file module_signing.c and on line 193 there is something I really don't get. The line is:

    size_t modlen = *_modlen, sig_len;

How can you have two values on the right side of the assignment operator??

Any help would be great. Thanks!

Upvotes: 1

Views: 64

Answers (1)

Ignacio Vazquez-Abrams
Ignacio Vazquez-Abrams

Reputation: 798606

You don't. You have a declaration of modlen with the initial value of *_modlen, and a declaration of sig_len. Both are of type size_t.

Upvotes: 4

Related Questions