|
@@ -690,7 +690,7 @@ static int rose_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len)
|
|
|
|
|
|
source = &addr->srose_call;
|
|
source = &addr->srose_call;
|
|
|
|
|
|
- user = ax25_findbyuid(current->euid);
|
|
|
|
|
|
+ user = ax25_findbyuid(current_euid());
|
|
if (user) {
|
|
if (user) {
|
|
rose->source_call = user->call;
|
|
rose->source_call = user->call;
|
|
ax25_uid_put(user);
|
|
ax25_uid_put(user);
|
|
@@ -791,7 +791,7 @@ static int rose_connect(struct socket *sock, struct sockaddr *uaddr, int addr_le
|
|
goto out_release;
|
|
goto out_release;
|
|
}
|
|
}
|
|
|
|
|
|
- user = ax25_findbyuid(current->euid);
|
|
|
|
|
|
+ user = ax25_findbyuid(current_euid());
|
|
if (!user) {
|
|
if (!user) {
|
|
err = -EINVAL;
|
|
err = -EINVAL;
|
|
goto out_release;
|
|
goto out_release;
|